Versions 43 to 44
Lines 46–52 at 44 (were 46–52 at 43)
49−import { absolute, writeFileAtomic } from "../src/folder.ts";
Lines 3495–3566 at 44 (were 3495–3500 at 43)
34973497
3498+ it("status skips reading files it found unchanged before, never trusts one changed too recently, and record still reads every file", async () => {
3499+ const { folders } = await project({ "a.txt": "a\n", "b.txt": "b\n", "c.txt": "c\r\n" }, "alice", "bob");
3517+
3518+ // Files too new to trust are read, and not kept: a swap is still caught. A time a minute ahead stays
3526+
3527+ // Old files are kept after one status, and the next answers from the record without reading them.
3532+ assert.deepEqual(Object.keys(JSON.parse(readFileSync(record, "utf8")).files).sort(), ["a.txt", "b.txt", "c.txt"]);
3539+
3546+
3553+
3563+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 43 44 client/test/client.test.ts --json
- JSON
- /christopher/abso-core/compare/43..44?file=client%2Ftest%2Fclient.test.ts&format=json