Structs§
- Cache
Load Report - Cache
Save Report - Discovered
Libs - Discover existing LSP caches in lib sub-projects.
Functions§
- cache_
dir - Public helper — returns the root of the on-disk cache directory for
project_root. Used by thesolidity.clearCachecommand 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).
- discover_
lib_ caches - Backwards-compatible wrapper: returns only sub-projects that have an existing cache on disk.
- discover_
lib_ sub_ projects - Walks the configured
libsdirectories looking forfoundry.tomlfiles. Returns sub-project roots partitioned into those with existing caches and those without. - load_
lib_ cache - Load a sub-project’s cache as a
CachedBuild. - load_
reference_ cache - load_
reference_ cache_ with_ report - save_
last_ solc_ input - Persist the last solc standard-JSON input to the cache directory so it can be inspected for debugging.
- save_
reference_ cache - save_
reference_ cache_ with_ report - upsert_
reference_ cache_ v2_ with_ report - Incrementally upsert v2 cache shards for changed files, serializing
global metadata (
path_to_abs,id_to_path_map,external_refs) from the merged in-memoryCachedBuild(root-key entry inast_cache).