Skip to main content

Module cache_stats

Module cache_stats 

Source
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ยง

CacheStatsArgs
Arguments for the cache stats command.
CacheStatsOutput
Output structure for cache stats command.