package mirage-kv-mem

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-kv-mem-4.0.1.tbz
sha256=7b961185883728ee4bc059a2d49be7aa51779a878090e6be31f2903c8a9e5e51
sha512=0e3a4afc577ebf94acb4bf1f48682066522136d3986bc6b193efefb7ed1b1a3b47d33fa626fd5aea17c29ccfb640a40fd67c4a15c4ecdaacbdcde0c0d933dd0a

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