🡠 irmin-pack

Irmin backend which stores values in a pack file
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library irmin-pack.unix
Module Irmin_pack_unix . KV . Make . X . Branch . AW
type t
type key = Key.t
type value = Val.t
val mem : t -> key -> bool Lwt.t
val find : t -> key -> value option Lwt.t
val set : t -> key -> value -> unit Lwt.t
val test_and_set : t -> key -> test:value option -> set:value option -> bool Lwt.t
val remove : t -> key -> unit Lwt.t
val list : t -> key list Lwt.t
type watch
val watch : t -> ?init:(key * value) list -> ( key -> value Irmin.Diff.t -> unit Lwt.t ) -> watch Lwt.t
val watch_key : t -> key -> ?init:value -> ( value Irmin.Diff.t -> unit Lwt.t ) -> watch Lwt.t
val unwatch : t -> watch -> unit Lwt.t
val clear : t -> unit Lwt.t
val close : t -> unit Lwt.t
val flush : t -> unit
val v : ?fresh:bool -> ?readonly:bool -> string -> t Lwt.t