Module Irmin__Conf

type 'a parser = string -> ('a, [ `Msg of string ]) Result.result
type 'a printer = 'a Fmt.t
type 'a converter = 'a parser * 'a printer
val parser : 'a converter -> 'a parser
val printer : 'a converter -> 'a printer
val bool : bool converter
val int : int converter
val string : string converter
val some : 'a converter -> 'a option converter
val uri : Uri.t converter
type 'a key
val key : ?⁠docs:string -> ?⁠docv:string -> ?⁠doc:string -> string -> 'a converter -> 'a -> 'a key
val name : 'a key -> string
val docs : 'a key -> string option
val docv : 'a key -> string option
val doc : 'a key -> string option
val conv : 'a key -> 'a converter
val default : 'a key -> 'a
val root : string option key
type t
val empty : t
val singleton : 'a key -> 'a -> t
val is_empty : t -> bool
val mem : t -> 'a key -> bool
val add : t -> 'a key -> 'a -> t
val rem : t -> 'a key -> t
val union : t -> t -> t
val find : t -> 'a key -> 'a option
val get : t -> 'a key -> 'a