package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.6.1.tbz
sha256=11fc2570bdbfd48478c89113fc801084a84a9a2c12d9bf8c64e05ce64ae19bd7
sha512=2171699ca24dec5c9c908a2676b272e034c14eb17f7052a794535e52af0be40be68a689e59c0a640ee244b11703320483f4d0c261542e6242ba23a8f1272b9b0

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.