Irmin, a distributed database that follows the same design principles as Git
val hash_t : Hash.t Irmin__Type.t

Commit values

type t

The type for commit values.

val t : t Irmin__Type.t
type node_key = Hash.t

Type for node keys.

val node_key_t : node_key Irmin__Type.t
type commit_key = Hash.t

Type for commit keys.

val commit_key_t : commit_key Irmin__Type.t
module Info = Schema.Info

The type for commit info.

val v : info:Info.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 -> Info.t

The commit info.

val of_commit : Commit.value -> t