package irmin-fs

  1. Overview
  2. Docs
Generic file-system backend for Irmin

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.5.2.tbz
sha256=2a1e6a7577e498fbfeb678d666da210dc48d1344637e8ecb653e1dd88c640b5f
sha512=3fb6f49a1af2f8bab1df5b6f5affaaa09f09fe892a08eb2d9de58138e56646d4a6797f3c087b22875e36e3411218ab2435fe5437ac78f323dd661932af021fad

doc/irmin-fs.unix/Irmin_fs_unix/Make/Backend/Branch/index.html

Module Backend.Branch

type t
type key = Schema.Branch.t
type value = Commit.key
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__Atomic_write_intf.diff -> unit Lwt.t) -> watch Lwt.t
val watch_key : t -> key -> ?init:value -> (value Irmin__Atomic_write_intf.diff -> 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
module Key : sig ... end
module Val : sig ... end
OCaml

Innovation. Community. Security.