Skip to main content

Module cache

Module cache 

Source
Expand description

Query caching module

Structs§

AstParseCache
AST parse cache: query string → Arc<ParsedQuery> (boolean query AST)
BudgetConfig
Configuration for cache budget limits
BudgetStats
Statistics about current budget usage
CacheBudgetController
Budget controller for tracking and enforcing cache limits
CacheKey
Cache key for result cache (5-component hash)
CacheStats
Cache statistics for monitoring
FileMetadata
File metadata for cache invalidation (local definition after legacy index removal)
ResultCache
Result cache: CacheKeyVec<NodeId>

Enums§

ClampAction
Action to take when budget is exceeded
ClampReason
Reason why clamping is needed

Functions§

compute_file_set_hash
Compute hash of file metadata set
compute_root_path_hash
Compute hash of workspace root path