package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a t
type value
val mem : [> Irmin.Perms.read ] t -> hash Pack_key.t -> bool Lwt.t
val find : [> Irmin.Perms.read ] t -> hash Pack_key.t -> value option Lwt.t
val close : 'a t -> unit Lwt.t
val index : [> Irmin.Perms.read ] t -> hash -> hash Pack_key.t 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 -> hash Pack_key.t Lwt.t
val unsafe_add : 'a t -> hash -> value -> hash Pack_key.t Lwt.t
val index_direct : 'a t -> hash -> hash Pack_key.t option
val unsafe_append : ensure_unique:bool -> overcommit:bool -> 'a t -> hash -> value -> hash Pack_key.t
val unsafe_mem : 'a t -> hash Pack_key.t -> bool
val unsafe_find : check_integrity:bool -> 'a t -> hash Pack_key.t -> value option
type file_manager = file_manager
type dict = dict
type dispatcher = dispatcher
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 ]) Stdlib.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 -> (hash Pack_key.t * Irmin_pack.Pack_value.Kind.t) option
val purge_lru : 'a t -> unit
OCaml

Innovation. Community. Security.