package mirage-kv-mem

  1. Overview
  2. Docs
In-memory key value store for MirageOS

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-kv-mem-4.0.0.tbz
sha256=fabae062fceea192683143abb8334c5b3afefa13cfcaa18c42078e3e6a34a9e0
sha512=62f8b0c37c2a83a50bdebabbc21f473b0d6b4c591d19846f59b025b6038330c96c761ded17efde1732d4ba5957ab2eed3c360350896f08616d624e57d3127c8b

doc/mirage-kv-mem/Mirage_kv_mem/Pure/index.html

Module Mirage_kv_mem.PureSource

Sourcetype t
Sourceval empty : Ptime.t -> unit -> t
Sourceval get : t -> key -> (string, error) result
Sourceval size : t -> key -> (Optint.Int63.t, error) result
Sourceval get_partial : t -> key -> offset:Optint.Int63.t -> length:int -> (string, error) result
Sourceval last_modified : t -> key -> (Ptime.t, error) result
Sourceval remove : t -> key -> Ptime.t -> (t, write_error) result
Sourceval list : t -> key -> ((key * [ `Value | `Dictionary ]) list, error) result
Sourceval set : t -> key -> Ptime.t -> string -> (t, write_error) result
Sourceval set_partial : t -> key -> Ptime.t -> offset:Optint.Int63.t -> string -> (t, write_error) result
Sourceval rename : t -> source:key -> dest:key -> Ptime.t -> (t, write_error) result
Sourceval equal : t -> t -> bool
Sourceval pp : t Fmt.t
OCaml

Innovation. Community. Security.