Module Brassaia.Storage

Storage provides Storage.Make for defining a custom storage layer that can be used to create Brassaia stores. Unlike Backend.S, an implementation of Storage.Make is only concerned with storing and retrieving keys and values. It can be used to create stores for Backend.S through something like Storage.Content_addressable or, primarily, with Of_storage to automatically construct an Brassaia store.

module type S = sig ... end

S is a storage layer that can be used to build Brassaia stores.

module type Make = sig ... end

Make parameterizes a storage layer over a key Key and a value Value. This is the signature to implement when building custom storage for Brassaia.