package irmin-pack

  1. Overview
  2. Docs
type 'a t
type key = Val.node_key
type value
val mem : [> Irmin.Perms.read ] t -> key -> bool Lwt.t
val find : [> Irmin.Perms.read ] t -> key -> value option Lwt.t
val close : 'a t -> unit Lwt.t
type hash
val add : [> Irmin.Perms.write ] t -> value -> key Lwt.t
val unsafe_add : [> Irmin.Perms.write ] t -> hash -> value -> key Lwt.t
val index : [> Irmin.Perms.read ] t -> hash -> key option Lwt.t
val batch : Irmin.Perms.read t -> ([ `Read | `Write ] t -> 'a Lwt.t) -> 'a Lwt.t
module Key : sig ... end
module Path : sig ... end
val merge : [> Irmin.Perms.read_write ] t -> key option Irmin.Merge.t
module Metadata : sig ... end
module Val : sig ... end
module Hash : sig ... end
module Contents : sig ... end
OCaml

Innovation. Community. Security.