package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module K : Irmin.Hash.S

Signature

include Index.S with type value = Irmin_pack_unix__.Import.int63 * int * Irmin_pack_unix__.Import.Pack_value.Kind.t with type key = K.t
type t
type key = K.t
type value = Optint.Int63.t * int * Irmin_pack.Pack_value.Kind.t
type cache
val empty_cache : unit -> cache
val clear : t -> unit
val mem : t -> key -> bool
val replace : ?overcommit:bool -> t -> key -> value -> unit
val filter : t -> ((key * value) -> bool) -> unit
val iter : (key -> value -> unit) -> t -> unit
val flush : ?no_callback:unit -> ?with_fsync:bool -> t -> unit
val sync : t -> unit
val is_merging : t -> bool
val try_merge : t -> unit
module Checks : sig ... end
val v : ?flush_callback:(unit -> unit) -> ?fresh:bool -> ?readonly:bool -> ?throttle:[ `Block_writes | `Overcommit_memory ] -> ?lru_size:int -> log_size:int -> string -> t

Constructor for indices, memoized by (path, readonly) pairs.

val find : t -> key -> value option
val add : ?overcommit:bool -> t -> key -> value -> unit
val close : t -> unit
val merge : t -> unit
module Stats = Index.Stats
module Key : Index.Key.S with type t = key
OCaml

Innovation. Community. Security.