package irmin

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

Module Commit.MakeSource

Make provides a simple implementation of commit values, parameterized by the commit and node keys K.

Parameters

module H : Type.S

Signature

Commit values

Sourcetype t

The type for commit values.

Sourcetype hash = H.t

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.

OCaml

Innovation. Community. Security.