package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type key = H.t
type cache
val empty_cache : unit -> cache
val clear : t -> unit
val replace : ?overcommit:bool -> t -> key -> value -> unit
val sync : t -> unit
val is_merging : t -> bool
module Checks : sig ... end
val v_exn : ?flush_callback:(unit -> unit) -> ?fresh:bool -> ?readonly:bool -> ?throttle:[ `Block_writes | `Overcommit_memory ] -> ?lru_size:int -> log_size:int -> string -> t
val v : ?flush_callback:(unit -> unit) -> ?fresh:bool -> ?readonly:bool -> ?throttle:[ `Block_writes | `Overcommit_memory ] -> ?lru_size:int -> log_size:int -> string -> (t, [> `Index_failure of string | `Io_misc of Io.Unix.misc_error ]) Stdlib.result
val reload : t -> (unit, [> `Index_failure of string | `Io_misc of Io.Unix.misc_error ]) Stdlib.result
val close : t -> (unit, [> `Index_failure of string | `Io_misc of Io.Unix.misc_error ]) Stdlib.result
val close_exn : t -> unit
val flush : t -> with_fsync:bool -> (unit, [> `Index_failure of string | `Io_misc of Io.Unix.misc_error ]) Stdlib.result
val find : t -> key -> value option
val add : ?overcommit:bool -> t -> key -> value -> unit
val merge : t -> unit
val mem : t -> key -> bool
val iter : (key -> value -> unit) -> t -> unit
val filter : t -> ((key * value) -> bool) -> unit
val try_merge : t -> unit
module Stats = Index.Stats
module Key : sig ... end