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.2.tbz
sha256=29c68c5001a727aaa7a6842d6204ffa3e24b3544fa4f6af2234cdbfa032f7fdf
sha512=87254dfe640619b678a95c211435c0deaaaac8bec50bba711757dd610c9fe6d9a80938399b7e2bb7bc813116eebc82bf3474b281d1afcd1031586f3d51579925

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