Backend.RepoA repo abstraction.
type t = repoRepo opening and closing functions
val init : Brassaia__.Conf.t -> t Lwt.tinit 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 -> Brassaia.Perms.read Contents.tval node_t : t -> Brassaia.Perms.read Node.tval commit_t : t -> Brassaia.Perms.read Commit.tval config : t -> Brassaia__.Conf.tval batch :
t ->
(Brassaia.Perms.read_write Contents.t ->
Brassaia.Perms.read_write Node.t ->
Brassaia.Perms.read_write Commit.t ->
'a Lwt.t) ->
'a Lwt.tA getter from repo to backend stores in rw mode.