package irmin

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

irmin-2.10.2.tbz
sha256=088741b619471c8198e74aaf9f4aeb4a9997abec8b9abcbfb3443fd27bfb433f
sha512=bbc03417d6eb87d99bee391c489d23a586b0a260e4c797f5e2465c3ab67cb627a9efa526097c1b89dd3339eafb8bad738c1cf0502e5c70355871ff7dbba324b9

doc/irmin/Irmin/Hash/index.html

Module Irmin.HashSource

Hashing functions.

Hash provides user-defined hash functions to digest serialized contents. Some backends might be parameterized by such hash functions, others might work with a fixed one (for instance, the Git format uses only SHA1).

A SHA1 implementation is available to pass to the backends.

Sourcemodule type S = sig ... end

Signature for hash values.

Sourcemodule type TYPED = sig ... end

Signature for typed hashes, where hash directly takes a value as argument and incremental hashing is not possible.

Sourcemodule Make (H : Digestif.S) : S with type t = H.t

Digestif hashes.

Sourcemodule Make_BLAKE2B (D : sig ... end) : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule Make_BLAKE2S (D : sig ... end) : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule SHA1 : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule RMD160 : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule SHA224 : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule SHA256 : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule SHA384 : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule SHA512 : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule BLAKE2B : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule BLAKE2S : S

Signature for digest hashes, inspired by Digestif.

Sourcemodule V1 (H : S) : S with type t = H.t

v1 serialisation

Sourcemodule Typed (K : S) (V : Type.S) : TYPED with type t = K.t and type value = V.t

Typed hashes.