Module gix_pack::cache

source ·
Expand description

Modules

  • lrupack-cache-lru-dynamic or pack-cache-lru-static
    Various implementations of DecodeEntry using least-recently-used algorithms.
  • This module is a bit ‘misplaced’ if spelled out like ‘gix_pack::cache::object::*’ but is best placed here for code re-use and general usefulness.

Structs

  • A cache that stores nothing and retrieves nothing, thus it never caches.

Traits

  • A trait to model putting objects at a given pack offset into a cache, and fetching them.
  • A way of storing and retrieving entire objects to and from a cache.