package irmin-test

  1. Overview
  2. Docs

Val provides functions for commit values.

Commit values

type t = value

The type for commit values.

type hash = Node.key

Type for keys.

val v : info:Irmin.Info.t -> node:hash -> parents:hash list -> t

Create a commit.

val node : t -> hash

The underlying node.

val parents : t -> hash list

The commit parents.

val info : t -> Irmin.Info.t

The commit info.

Value Types

val t : t Irmin.Type.t

t is the value type for t.

val hash_t : hash Irmin.Type.t

hash_t is the value type for hash.

OCaml

Innovation. Community. Security.