package irmin

  1. Overview
  2. Docs
Irmin, a distributed database that follows the same design principles as Git

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.4.1.tbz
sha256=922836116c30ec68068a38694a09bba521cf47edd0e4ae44e076b9b4963da180
sha512=30f6833157cab53cc285093d7f6a82492b9a3709c860160278b1e7b665a7640a0a4c6a0415df0c8127b3967a60146a6cbb99f1151476736afde6e2cf50a56890

doc/irmin.mem/Irmin_mem/Make/Backend/Repo/index.html

Module Backend.RepoSource

A repo abstraction.

Sourcetype t = repo

Repo opening and closing functions

Sourceval 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.

Sourceval 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

Sourceval contents_t : t -> Irmin.Perms.read Contents.t
Sourceval config : t -> Irmin__.Conf.t

A getter from repo to backend stores in rw mode.

Sourceval branch_t : t -> Branch.t

A branch store getter from repo

OCaml

Innovation. Community. Security.