package irmin

  1. Overview
  2. Docs
On This Page
  1. Value Types
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Contents.HashSource

Sourcetype t = hash
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.