package irmin-git

  1. Overview
  2. Docs
On This Page
  1. Commit values
Legend:
Library
Module
Module type
Parameter
Class
Class type
type hash = Hash.t
val hash_t : hash Irmin.Type.t

Commit values

type t = G.Value.Commit.t

The type for commit values.

val t : t Irmin.Type.t
type node_key = hash

Type for node keys.

val node_key_t : node_key Irmin.Type.t
type commit_key = hash

Type for commit keys.

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