Irmin, a distributed database that follows the same design principles as Git
Parameter #5 Irmin . Commit . Store . V
type hash = S.key
val hash_t : hash Type.t

Commit values

type t = S.value

The type for commit values.

val t : t Type.t
type node_key = hash

Type for node keys.

val node_key_t : node_key Type.t
type commit_key = hash

Type for commit keys.

val commit_key_t : commit_key Type.t
val v : info:I.t -> node:node_key -> parents:commit_key list -> t

Create a commit.

val node : t -> node_key

The underlying node key.

val parents : t -> commit_key list

The commit parents.

val info : t -> I.t

The commit info.