package irmin

  1. Overview
  2. Docs
On This Page
  1. Contents Hashing
Legend:
Library
Module
Module type
Parameter
Class
Class type

Hashing functions.

Hash provides user-defined hash function 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 use only SHA1).

An SHA1 implementation is available to pass to the backends.

Contents Hashing

module type S = sig ... end

Signature for hash values.

module SHA1 : S

SHA1 digests