package irmin

  1. Overview
  2. Docs

Parameters

module Node_key : Key.S with type hash = Hash.t
module Commit_key : Key.S with type hash = Hash.t

Signature

Commit values

type t

The type for commit values.

val t : t Type.t
type node_key = Node_key.t

Type for node keys.

val node_key_t : node_key Type.t
type commit_key = Commit_key.t

Type for commit keys.

val commit_key_t : commit_key Type.t
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.

OCaml

Innovation. Community. Security.