package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

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.