Expand description
Cache statistics command implementation
CLI command: tldr cache stats [--project PATH]
Displays cache statistics for a TLDR project:
- If daemon is running: queries cache stats via IPC
- If daemon is not running: reads cache files directly
Statistics include:
- Salsa-style query cache: hits, misses, hit rate, invalidations
- Cache files: file count, total size on disk
Structsยง
- Cache
Stats Args - Arguments for the
cache statscommand. - Cache
Stats Output - Output structure for cache stats command.