package irmin

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

String values where only the last modified value is kept on merge. If the value has been modified concurrently, the merge function raises Conflict.

Signature for store contents

Base functions on contents.

include Tc.S0 with type t = string
type t = string
val equal : t Tc.equal
val compare : t Tc.compare
val hash : t Tc.hash
val to_json : t Tc.to_json

The REST inteface.

val of_json : t Tc.of_json
val size_of : t Tc.size_of

The serialization format.

val write : t Tc.writer
val read : t Tc.reader
module Path = Path.String_list

The type for store paths.

val merge : Path.t -> t option Merge.t

Merge function. Evaluates to `Conflict 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.