package irmin-indexeddb

  1. Overview
  2. Docs

Val provides functions for commit values.

Commit values

Base functions on commit values.

include Tc.S0 with type t = value
type t = value
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
type node = Node.key

Type for node keys.

val create : Irmin.task -> ?node:node -> parents:key list -> t

Create a commit.

val node : t -> node option

The underlying node.

val parents : t -> key list

The commit parents.

val task : t -> Irmin.task

The commit provenance.

OCaml

Innovation. Community. Security.