Preload git commit timestamps for every tracked file in a single git log --name-only invocation. The cache stores only the most recent commit timestamp per file. Idempotent โ safe to call multiple times. On failure (e.g. shallow clone, git unavailable) it logs a warning and lets getFileModTime fall back to fs.statSync.
Preload git commit timestamps for every tracked file in a single
git log --name-onlyinvocation. The cache stores only the most recent commit timestamp per file. Idempotent โ safe to call multiple times. On failure (e.g. shallow clone, git unavailable) it logs a warning and letsgetFileModTimefall back tofs.statSync.