package irmin

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

V1 serialisation.

Parameters

module S : S

Signature

include S with type hash = S.hash

Commit values

type t

The type for commit values.

type hash = S.hash

Type for keys.

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

The commit info.

Value Types

val t : t Type.t

t is the value type for t.

val hash_t : hash Type.t

hash_t is the value type for hash.

val import : S.t -> t
val export : t -> S.t
OCaml

Innovation. Community. Security.