package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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