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.8.0.tbz
sha256=da4017e6719cee86fab83f8d9a93e3cc3c54ca653703329a0f345712a9f72972
sha512=d58b0708ba20962b4d3096c32233635e3b741753698694411d8496ef37da39968bc173fa92d305032126f967e1ccec79a267900f58516878592e61404726516c

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.