package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.10.0.tbz
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0

doc/irmin-pack.unix/Irmin_pack_unix/Maker/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.