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-3.5.0.tbz
sha256=9a0d8b07b828f5c24495c879c5b4f6f34b4da508ab40f33a94fef2944364b823
sha512=4006dafe8dcd43388e372cb3bbfa5dba558b397c2ffb4eea2996e70ba0cfdb533b61874cf5b3db62ae53033c30ee797778d9eebfb03a7d8c8bba117a1c85dc91

doc/irmin.mem/Irmin_mem/Make/Backend/Slice/index.html

Module Backend.SliceSource

A slice abstraction.

Slices

Sourcetype t = slice

The type for slices.

The type for exported contents.

Sourceval contents_t : contents Irmin.Type.t

The type for exported nodes.

The type for exported commits.

Sourceval commit_t : commit Irmin.Type.t
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.

OCaml

Innovation. Community. Security.