package irmin

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

Module Commit.V1Source

V1 serialisation.

Parameters

module C : S

Signature

include S with type hash = C.hash

Commit values

Sourcetype t

The type for commit values.

Sourcetype hash = C.hash

Type for keys.

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

Create a commit.

Sourceval node : t -> hash

The underlying node.

Sourceval parents : t -> hash list

The commit parents.

Sourceval info : t -> Info.t

The commit info.

Value Types

Sourceval t : t Type.t

t is the value type for t.

Sourceval hash_t : hash Type.t

hash_t is the value type for hash.

Sourceval import : C.t -> t
Sourceval export : t -> C.t
OCaml

Innovation. Community. Security.