Cache maps a jsonl path to its last-scanned rollup, keyed by file identity (mod time + size) so unchanged files are not rescanned.
| 14 | // Cache maps a jsonl path to its last-scanned rollup, keyed by file |
| 15 | // identity (mod time + size) so unchanged files are not rescanned. |
| 16 | type Cache struct { |
| 17 | Entries map[string]cacheEntry `json:"entries"` |
| 18 | } |
| 19 | |
| 20 | // LoadCache reads a cache file. A missing or corrupt file yields an empty |
| 21 | // (usable) cache — never an error. Stats must never fail on a bad cache. |
nothing calls this directly
no outgoing calls
no test coverage detected