package irmin

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

Module Contents.String_v2Source

Similar to String above, but the hash computation is compatible with versions older than irmin.3.0

Signature for store contents

Sourcetype t = string

The type for user-defined contents.

Sourceval t : t Type.t
Sourceval merge : t option Merge.t

Merge function. Evaluates to `Conflict msg if the values cannot be merged properly. The arguments of the merge function can take None to mean that the key does not exists for either the least-common ancestor or one of the two merging points. The merge function returns None when the key's value should be deleted.

OCaml

Innovation. Community. Security.