package irmin-indexeddb

  1. Overview
  2. Docs

Signature for store contents

Base functions on contents.

include Tc.S0
type t
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

The type for store paths.

val merge : Path.t -> t option Irmin.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.