package irmin-fs

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.6.0.tbz
sha256=98cc035d7b618ae8d94925a00d80159d9fdabf5f165b80aedb5c879aa4cf4b8e
sha512=8a2b91621a5b74d9d88e975faa14efef18cf12cf0194f80279b0ac574468872bc0fc33d827f85dca55dbd4c46b7bb002808d9fc2fa0fa44fc85a845838c9f43b

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.