package irmin

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

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 -> Perms.read Contents.t
Sourceval node_t : t -> Perms.read Node.t
Sourceval commit_t : t -> Perms.read Commit.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.