Brassaia.KV_maker
KV_maker
is like Maker
but uses sensible default implementations for everything except the contents type.
module CA : Content_addressable.Maker
module AW : Atomic_write.Maker
type info = Info.default
include Key.Store_spec.S
with type ('h, _) contents_key = 'h
with type 'h node_key = 'h
with type 'h commit_key = 'h
module Make
(C : Contents.S) :
Store_intf.KV_generic_key
with module Schema.Contents = C
and type Backend.Remote.endpoint = endpoint
and type Schema.Hash.t = hash
and type contents_key = (hash, C.t) contents_key
and type node_key = hash node_key
and type commit_key = hash commit_key
and type Schema.Info.t = info