package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-2.9.0.tbz
sha256=7af11e14d312b9ae340997f8c27907b9fc9a0d19539fb643e1820d5183a76750
sha512=d7b61c6fddab0a8b61efe867b9a0fdc14c01eb1adeda2f5018b8dfee306c8324c77dd648c7cb9860e62a26e224955f9331b49d19cb693ad5d773efc53263d9fd

doc/irmin-pack.mem/Irmin_pack_mem/Make/Private/Repo/index.html

Module Private.Repo

Private repositories.

type t = repo
val v : Irmin__.S.config -> t Lwt.t

v config is a function returning fresh store handles, with the configuration config, which is provided by the backend.

val close : t -> unit Lwt.t

close t frees up all the resources associated with t. Any operations run on a closed handle will raise Closed.

val contents_t : t -> Irmin__.Import.read Contents.t
val node_t : t -> Irmin__.Import.read Node.t
val commit_t : t -> Irmin__.Import.read Commit.t
val branch_t : t -> Branch.t
val batch : t -> (Irmin__.Import.read_write Contents.t -> Irmin__.Import.read_write Node.t -> Irmin__.Import.read_write Commit.t -> 'a Lwt.t) -> 'a Lwt.t
OCaml

Innovation. Community. Security.