package irmin

  1. Overview
  2. Docs
On This Page
  1. Commit values
Legend:
Library
Module
Module type
Parameter
Class
Class type

Val provides functions for commit values.

Commit values

Base functions on commit values.

include Tc.S0 with type t = value
type t = value
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.key

Type for node keys.

val create : task -> ?node:node -> parents:key list -> t

Create a commit.

val node : t -> node option

The underlying node.

val parents : t -> key list

The commit parents.

val task : t -> task

The commit provenance.

OCaml

Innovation. Community. Security.