package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-2.7.1.tbz
sha256=fac7c032f472fb369378ad2d8fe77e7cd3b3c1c6a0d7bf59980b69528891b399
sha512=06db1c4e90d43bdfbea2d4f15037eef77207877c05019a6ce0f7f7771afe7d9200da019e3d845ff98ee86947f3e538e1521d818e6d6ddd97105fcaeb746fe418

doc/irmin-pack.layered/Irmin_pack_layered/Maker_ext/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.