clean-files.ts: say the gap it shares with git (a tool that restores an exact old time hides an edit from status, never from record)
of shared·speed··Not checked
Version 45 · Files at version 46
1 file, 4 lines added, 0 removed.
--- a/client/src/clean-files.ts
+++ b/client/src/clean-files.ts
@@ -11,6 +11,10 @@
1212// Only status and the checks it prints use this. record reads every file: a 1313// line status misses is a nuisance, a change record misses is lost work. 15+// The gap it shares with git: a tool that puts back a file's exact old time 16+// at the same size and inode (rsync -t, touch -d) hides that edit from status 17+// until something else changes the file. record still sends it. 1519import { lstatSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs"; 1620import { join } from "node:path";