package irmin

  1. Overview
  2. Docs
Irmin, a distributed database that follows the same design principles as Git

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-2.4.0.tbz
sha256=abe7d504aaa4c8fd0f08a04bbfb2748bc23f714df20dd6381b6885bcca56d4ac
sha512=e3097e50ea3598b3c5da4d567a4d3d053a2cd70549afb9ced6fcec8f6faf0677f5d7f8c0541515e0dd3d5eb1d3990e3067d47014deaf93cd52b92bb9f7319968

doc/irmin.mem/Irmin_mem/KV/Private/Slice/index.html

Module Private.SliceSource

Private slices.

Slices

Sourcetype t = slice

The type for slices.

The type for exported contents.

The type for exported nodes.

The type for exported commits.

Sourcetype value = [
  1. | `Contents of contents
  2. | `Node of node
  3. | `Commit of commit
]

The type for exported values.

Sourceval empty : unit -> t Lwt.t

Create a new empty slice.

Sourceval add : t -> value -> unit Lwt.t

add t v adds v to t.

Sourceval iter : t -> (value -> unit Lwt.t) -> unit Lwt.t

iter t f calls f on all values of t.

Value Types

t is the value type for t.

Sourceval contents_t : contents Irmin.Type.t

content_t is the value type for contents.

node_t is the value type for node.

Sourceval commit_t : commit Irmin.Type.t

commit_t is the value type for commit.

value_t is the value type for value.

OCaml

Innovation. Community. Security.