Skip to main content

Module cache

Module cache 

Source
Expand description

Scan result caching for faster subsequent scans

This module provides intelligent caching of scan results with mtime-based invalidation. When a directory’s modification time hasn’t changed, we can skip rescanning it.

Structs§

CachedDirectory
Cache entry for a scanned directory
CachedProject
Cache entry for a single project
ScanCache
The scan cache

Functions§

default_cache_path
Get the default cache file path
load_cache
Load the cache from disk
save_cache
Save the cache to disk