package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
type value = Pack_value.t
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 = H.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
val add : 'a t -> value -> key Lwt.t
val unsafe_add : 'a t -> hash -> value -> key Lwt.t
val index_direct : 'a t -> hash -> key option
val unsafe_append : ensure_unique:bool -> overcommit:bool -> 'a t -> hash -> value -> key
val unsafe_mem : 'a t -> key -> bool
val unsafe_find : check_integrity:bool -> 'a t -> key -> value option
type file_manager = File_manager.t
type dict = Dict.t
type dispatcher = Dispatcher.t
val v : config:Irmin.Backend.Conf.t -> fm:file_manager -> dict:dict -> dispatcher:dispatcher -> Irmin.Perms.read t
val integrity_check : offset:Optint.Int63.t -> length:int -> hash -> 'a t -> (unit, [ `Absent_value | `Wrong_hash ]) result
module Entry_prefix : sig ... end
val read_and_decode_entry_prefix : off:Optint.Int63.t -> dispatcher -> Entry_prefix.t
val index_direct_with_kind : 'a t -> hash -> (key * Irmin_pack.Pack_value.Kind.t) option
val purge_lru : 'a t -> unit
OCaml

Innovation. Community. Security.