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.9.1.tbz
sha256=16003a8a873737b0a8ae2a940399b14754c5c2ba506e4511b96df4473e912783
sha512=64682e67c1e9f6b6f6a5f017da7c0d7e5316e2dd139ad8ad7ad43b73003d827fb9f3141c10469986dee47849687c841a297b91d08186f72268c41e026810a647

doc/irmin.mem/Irmin_mem/KV/Private/Contents/Key/index.html

Module Contents.KeySource

Key provides base functions for user-defined contents keys.

Sourcetype t = key
Sourcetype value = value
Sourceval hash : value -> t

Compute a deterministic store key from a string.

Sourceval short_hash : t -> int

short_hash h is a small hash of h, to be used for instance as the `hash` function of an OCaml Hashtbl.

Sourceval hash_size : int

hash_size is the size of hash results, in bytes.

Value Types

t is the value type for t.

OCaml

Innovation. Community. Security.