package irmin-pack

  1. Overview
  2. Docs
Irmin backend which stores values in a pack file

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.10.0.tbz
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0

doc/irmin-pack.unix/Irmin_pack_unix/Lru/index.html

Module Irmin_pack_unix.LruSource

Sourcetype t

An LRU that support memory-bound capacity via configuration key lru_max_memory. Falls back to entry-based capacity via lru_size configuration key, if max memory is not configured.

add t key weight value maps value with weight to key in t.

Note: Irmin_pack.Pack_value.weight.Immediate weights will be checked to see if they exceed an entry weight limit. The current hard-coded entry weight limit is 20kB.

Sourceval find : t -> key -> value
Sourceval mem : t -> key -> bool
Sourceval clear : t -> unit
Sourceval iter : t -> (key -> value -> unit) -> unit
OCaml

Innovation. Community. Security.