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-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

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.

Sourcemodule Set : sig ... end