package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.5.1.tbz
sha256=cd788a8d3f4a3dd18dc160a153d4aec91eaf6b0fb41ad41464d26c79c304a98e
sha512=4f97862678d35e0b4aa814a1df51d6f8c59bcf5b611c73f0a475f9b5386ca42a4a18e65ce80fc425ddad93fcdacfcb563c52f6423777610a0bc567902f4db088

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.