package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type field =
  1. | Appended_hashes
  2. | Appended_offsets
  3. | Staging
    (*

    Found in the store's write buffer.

    *)
  4. | Lru
    (*

    Found in the store's LRU of recent find results.

    *)
  5. | Pack_direct
    (*

    Decoded directly from the pack file (via a direct key).

    *)
  6. | Pack_indexed
    (*

    Binding recovered from the pack file after first checking the index for its offset and length (via an indexed key).

    *)
  7. | Not_found
    (*

    Find returned None.

    *)
val field_t : field Irmin.Type.t
type t = private {
  1. mutable appended_hashes : int;
  2. mutable appended_offsets : int;
  3. mutable total : int;
  4. mutable from_staging : int;
  5. mutable from_lru : int;
  6. mutable from_pack_direct : int;
  7. mutable from_pack_indexed : int;
}
val t : t Irmin.Type.t
type stat
val cache_misses : t -> int
val export : stat -> t
OCaml

Innovation. Community. Security.