Skip to main content

Module cache

Module cache 

Source
Expand description

On-disk gzipped XML cache for one-shot invocations (index.xml.gz).

Constants§

DEFAULT_CACHE_DIR
DEFAULT_CACHE_FILE
Default cache filename: gzipped XML at the fastest compression level.

Functions§

default_cache_path
load_cache
Load cache if present and source_hash matches expected (when provided).
load_or_build
Try load cache; if missing, build from paths and save.
save_cache