Expand description
Query caching module
Structs§
- AstParse
Cache - AST parse cache: query string →
Arc<ParsedQuery>(boolean query AST) - Budget
Config - Configuration for cache budget limits
- Budget
Stats - Statistics about current budget usage
- Cache
Budget Controller - Budget controller for tracking and enforcing cache limits
- Cache
Key - Cache key for result cache (5-component hash)
- Cache
Stats - Cache statistics for monitoring
- File
Metadata - File metadata for cache invalidation (local definition after legacy index removal)
- Result
Cache - Result cache:
CacheKey→Vec<NodeId>
Enums§
- Clamp
Action - Action to take when budget is exceeded
- Clamp
Reason - 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