type error = [ | `Invalid_store| `Msg of string| `Dictionary_expected of Mirage_kv.Key.t| `Not_found of Mirage_kv.Key.t| `Value_expected of Mirage_kv.Key.t
]include Mirage_kv.RO with type error := error
val pp_error : error Fmt.tval disconnect : t -> unit Lwt.ttype key = Mirage_kv.Key.tval exists :
t ->
key ->
([ `Dictionary | `Value ] option, error) Stdlib.result Lwt.tval get : t -> key -> (string, error) Stdlib.result Lwt.tval get_partial :
t ->
key ->
offset:Optint.Int63.t ->
length:int ->
(string, error) Stdlib.result Lwt.tval list :
t ->
key ->
((key * [ `Dictionary | `Value ]) list, error) Stdlib.result Lwt.tval last_modified : t -> key -> (Ptime.t, error) Stdlib.result Lwt.tval digest : t -> key -> (string, error) Stdlib.result Lwt.tval size : t -> key -> (Optint.Int63.t, error) Stdlib.result Lwt.tval connect : ?analyze:bool -> string -> (t, [> error ]) Stdlib.result Lwt.t