Irmin_cli.Resolver
Irmin store resolver.
module Hash : sig ... end
type hash = Hash.t
module Contents : sig ... end
type contents = Contents.t
module Store : sig ... end
val load_config :
?plugin:string ->
?root:string ->
?config_path:string ->
?store:string ->
?hash:hash ->
?contents:string ->
unit ->
Store.t * Irmin.config
Load config file from disk
plugin
is the path to an OCaml plugin in cmxs format to be loaded at runtime
config_path
can be used to specify the location of a configuration file.
root
is used to specify the path of the store.
The values provided for store
, hash
and contents
will be used by default if no other value is found in the config file
val store : unit -> store Cmdliner.Term.t
Parse the command-line arguments and then the config file.
val remote : unit -> (store * Irmin.remote Lwt.t) Cmdliner.Term.t
Parse a remote store location.