package irmin-pack

  1. Overview
  2. Docs
Irmin backend which stores values in a pack file

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

doc/irmin-pack.unix/Irmin_pack_unix/KV/Make/Snapshot/Import/index.html

Module Snapshot.ImportSource

Sourcetype process
Sourceval 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.
Sourceval save_elt : process -> t -> node_key Lwt.t

save_elt snapshot elt saves elt to the store.

Sourceval close : process -> repo -> unit

close snapshot close the snaphot instance.

OCaml

Innovation. Community. Security.