package irmin-fs

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.8.0.tbz
sha256=da4017e6719cee86fab83f8d9a93e3cc3c54ca653703329a0f345712a9f72972
sha512=d58b0708ba20962b4d3096c32233635e3b741753698694411d8496ef37da39968bc173fa92d305032126f967e1ccec79a267900f58516878592e61404726516c

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.