package irmin

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

Commit values represent the store history.

Every commit contains a list of predecessor commits, and the collection of commits form an acyclic directed graph.

Every commit also can contain an optional key, pointing to a node value. See the Node signature for more details on node values.

module type S = sig ... end
module Make (C : Tc.S0) (N : Tc.S0) : S with type commit := C.t and type node = N.t

Make provides a simple implementation of commit values, parameterized by the commit C and node N.

module type STORE = sig ... end

STORE specifies the signature for commit stores.

module type HISTORY = sig ... end

History specifies the signature for commit history. The history is represented as a partial-order of commits and basic functions to search through that history are provided.

module History (N : Contents.STORE) (S : STORE with type Val.node = N.key) : HISTORY with type t = N.t * S.t and type node = N.key and type commit = S.key

Build a commit history.

OCaml

Innovation. Community. Security.