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 = int64 * int * char with type key = K.t
type t
type key = K.t
type value = int64 * int * char
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 ] -> 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
OCaml

Innovation. Community. Security.