Expand description
Persisted graph-cache identity contracts and on-disk store.
The manifest types here define the invalidation surface a persisted graph
cache must satisfy before a cached graph can be trusted. Exact manifest hits
can reuse a previously-built ModuleGraph; stable-key resolver hits can
reuse resolver output and rebuild the graph with current FileIds.
Structs§
- Cached
Import Info - Cache-friendly mirror of
ImportInfo. - Cached
ReExport Info - Cache-friendly mirror of
ReExportInfo. - Cached
Resolved Import - Cached import edge that can be restored without re-running resolution.
- Cached
Resolved Module - Cached resolver output for one module.
- Cached
Resolved ReExport - Cached re-export edge that can be restored without re-running resolution.
- Graph
Cache File - Source freshness for one file in a graph-cache manifest.
- Graph
Cache Manifest - Manifest inputs required to trust a persisted graph cache entry.
- Graph
Cache Mode - Option dimensions that affect graph construction.
- Graph
Cache Store - On-disk graph cache entry: a manifest plus the graph it validates.
Enums§
- Cached
Resolve Result - Cached form of a resolved target.
Constants§
- GRAPH_
CACHE_ VERSION - Persisted graph cache schema version.
Functions§
- cache_
resolved_ modules - Convert resolved modules into the compact graph-cache resolver payload.
- restore_
resolved_ modules - Restore resolved modules from cached resolver payloads and current parsed modules.