package irmin

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

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

Parameters

module C : Tc.S0
module N : Tc.S0

Signature

Commit values

Base functions on commit values.

include Tc.S0
type t
val equal : t Tc.equal
val compare : t Tc.compare
val hash : t Tc.hash
val to_json : t Tc.to_json

The REST inteface.

val of_json : t Tc.of_json
val size_of : t Tc.size_of

The serialization format.

val write : t Tc.writer
val read : t Tc.reader
type node = N.t

Type for node keys.

val create : task -> ?node:node -> parents:C.t list -> t

Create a commit.

val node : t -> node option

The underlying node.

val parents : t -> C.t list

The commit parents.

val task : t -> task

The commit provenance.

OCaml

Innovation. Community. Security.