type 'a t = bool Stdlib.ref * G.t
The type for content-addressable backend stores. The 'a
phantom type carries information about the store mutability.
type key = G.Hash.t
The type for keys.
type value = V.t
The type for raw values.
find t k
is Some v
if k
is associated to v
in t
and None
is k
is not present in t
.
Write the contents of a value to the store. It's the responsibility of the content-addressable store to generate a consistent key.