CacheMode
CacheMode = "single" | "split" | "auto"
Defined in: cache.ts:75
Cache storage strategy.
-
"single": All entries stored inside one
cache.json. Requires locking to prevent concurrent corruption. Simpler, suitable for small/medium repositories. -
"split": One JSON file per source file (keyed by hashed relPath). No global lock required. Scales better for large repositories and parallel execution.
-
"auto": Mode determined at runtime using file-count heuristics. Designed for zero-configuration developer experience.