Expand description
LRU cache for analysis results indexed by path, modification time, and mode.
Provides thread-safe, capacity-bounded caching of file analysis outputs using LRU eviction. Recovers gracefully from poisoned mutex conditions.
Structs§
- Analysis
Cache - LRU cache for file analysis results with mutex protection.
- Cache
Key - Cache key combining path, modification time, and analysis mode.
- Call
Graph Cache - L1 in-memory LRU cache for call graph results.
Capacity is controlled via
APTU_CODER_SYMBOL_CACHE_CAPACITYenv var (default 32). - Call
Graph Cache Key - Cache key for call graph analysis combining path, parameters, and file mtimes.
- Directory
Cache Key - Cache key for directory analysis combining file mtimes, mode, and
max_depth. - Disk
Cache
Enums§
- Cache
Tier - Indicates which cache tier served the result.
Functions§
- parse_
cache_ capacity - Parse an LRU cache capacity from an environment variable.
Type Aliases§
- Call
Graph Cache Value - Cached call graph result: the fully-built
FocusedAnalysisOutput.CallGraphis not serializable, so caching is L1 memory only.