package irmin-mem

  1. Overview
  2. Docs

Val provides functions for commit values.

Commit values

type t = value

The type for commit values.

type commit = key

Type for commit keys.

type node = Node.key

Type for node keys.

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

Create a commit.

val node : t -> node

The underlying node.

val parents : t -> commit 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 commit_t : commit Irmin.Type.t

commit_t is the value type for commit.

val node_t : node Irmin.Type.t

node_t is the value type for node.

OCaml

Innovation. Community. Security.