Skip to main content

Module project_cache

Module project_cache 

Source

Structs§

CacheLoadReport
CacheSaveReport

Functions§

cache_dir
Public helper — returns the root of the on-disk cache directory for project_root. Used by the solidity.clearCache command handler.
changed_files_since_v2_cache
Return absolute paths of source files whose current hash differs from v2 cache metadata (including newly-added files missing from metadata).
load_reference_cache
load_reference_cache_with_report
save_reference_cache
save_reference_cache_with_report
upsert_reference_cache_v2_with_report
Incrementally upsert v2 cache shards from a partial build (typically a saved file compile). This is a fast-path: it updates per-file shards and file hashes for touched files, while preserving existing global metadata.