package mirage-kv-mem

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type key = Mirage_kv.Key.t
val empty : Ptime.t -> unit -> t
val get : t -> key -> (string, error) Stdlib.result
val size : t -> key -> (Optint.Int63.t, error) Stdlib.result
val get_partial : t -> key -> offset:Optint.Int63.t -> length:int -> (string, error) Stdlib.result
val last_modified : t -> key -> (Ptime.t, error) Stdlib.result
val remove : t -> key -> Ptime.t -> (t, write_error) Stdlib.result
val list : t -> key -> ((key * [ `Value | `Dictionary ]) list, error) Stdlib.result
val set : t -> key -> Ptime.t -> string -> (t, write_error) Stdlib.result
val set_partial : t -> key -> Ptime.t -> offset:Optint.Int63.t -> string -> (t, write_error) Stdlib.result
val rename : t -> source:key -> dest:key -> Ptime.t -> (t, write_error) Stdlib.result
val equal : t -> t -> bool
val pp : t Fmt.t
OCaml

Innovation. Community. Security.