Backend.RepoA repo abstraction.
type t = repoRepo opening and closing functions
val v : Irmin__.Conf.t -> t Lwt.tv config is a function returning fresh store handles, with the configuration config, which is provided by the backend.
val close : t -> unit Lwt.tclose 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.tval node_t : t -> Irmin.Perms.read Node.tval commit_t : t -> Irmin.Perms.read Commit.tval config : t -> Irmin__.Conf.tval batch :
t ->
(Irmin.Perms.read_write Contents.t ->
Irmin.Perms.read_write Node.t ->
Irmin.Perms.read_write Commit.t ->
'a Lwt.t) ->
'a Lwt.tA getter from repo to backend stores in rw mode.