package docteur-solo5

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type error = [
  1. | `Invalid_store
  2. | `Msg of string
  3. | `Dictionary_expected of Mirage_kv.Key.t
  4. | `Not_found of Mirage_kv.Key.t
  5. | `Value_expected of Mirage_kv.Key.t
]
include Mirage_kv.RO with type error := error
val pp_error : error Fmt.t
type t
val disconnect : t -> unit Lwt.t
type key = Mirage_kv.Key.t
val exists : t -> key -> ([ `Dictionary | `Value ] option, error) Stdlib.result Lwt.t
val get : t -> key -> (string, error) Stdlib.result Lwt.t
val list : t -> key -> ((string * [ `Dictionary | `Value ]) list, error) Stdlib.result Lwt.t
val last_modified : t -> key -> (int * int64, error) Stdlib.result Lwt.t
val digest : t -> key -> (string, error) Stdlib.result Lwt.t
val connect : ?analyze:bool -> string -> (t, [> error ]) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.