package irmin

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

irmin-2.7.2.tbz
sha256=29c68c5001a727aaa7a6842d6204ffa3e24b3544fa4f6af2234cdbfa032f7fdf
sha512=87254dfe640619b678a95c211435c0deaaaac8bec50bba711757dd610c9fe6d9a80938399b7e2bb7bc813116eebc82bf3474b281d1afcd1031586f3d51579925

doc/irmin.mem/Irmin_mem/Make/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.