package irmin

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Backend repositories.

type t
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.

val contents_t : t -> Perms.read Contents.t
val node_t : t -> Perms.read Node.t
val commit_t : t -> Perms.read Commit.t
val branch_t : t -> Branch.t
val batch : t -> (Perms.read_write Contents.t -> Perms.read_write Node.t -> Perms.read_write Commit.t -> 'a Lwt.t) -> 'a Lwt.t
OCaml

Innovation. Community. Security.