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/Checks/Integrity_checks/argument-2-X/Repo/index.html

Module X.Repo

A repo abstraction.

type t

Repo opening and closing functions

val v : Irmin__.Conf.t -> 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.

Getters from repo to backend store in ro mode

val contents_t : t -> Irmin.Perms.read Contents.t
val node_t : t -> Irmin.Perms.read Node.t
val commit_t : t -> Irmin.Perms.read Commit.t
val config : t -> Irmin__.Conf.t

A getter from repo to backend stores in rw mode.

val branch_t : t -> Branch.t

A branch store getter from repo

OCaml

Innovation. Community. Security.