package irmin-tezos

  1. Overview
  2. Docs
type process
val v : ?on_disk:[ `Path of string | `Reuse ] -> repo -> process

v ?on_disk repo create a snaphot instance. The traversal requires an index to keep track of visited elements.

  • if on_disk is not specified, the index is in memory.
  • if on_disk is `Path path, a temporary index is created at path.
  • if on_disk is `Reuse the store's index is reused.
val save_elt : process -> t -> node_key Lwt.t

save_elt snapshot elt saves elt to the store.

val close : process -> repo -> unit

close snapshot close the snaphot instance.


Innovation. Community. Security.