Resolver.Store
module Impl : sig ... end
type remote_fn =
?ctx:Mimic.ctx ->
?headers:Cohttp.Header.t ->
string ->
Irmin.remote Lwt.t
The type for store configurations. A configuration value contains: the store implementation a creator of store's state and endpoint.
val v :
?remote:remote_fn ->
Irmin.Backend.Conf.Spec.t ->
(module Irmin.S with type t = _) ->
t
val v_generic :
?remote:remote_fn ->
Irmin.Backend.Conf.Spec.t ->
(module Irmin.Generic_key.S with type t = _) ->
t
val find : string -> store_functor
val add : string -> ?default:bool -> store_functor -> unit
val spec : t -> Irmin.Backend.Conf.Spec.t
val generic_keyed : t -> (module Irmin.Generic_key.S)
val term :
unit ->
(string option * hash option * string option) Cmdliner.Term.t