Versions 2 to 318
new file, 69 lines
1+// Each version's changed files kept as it lands (abso Capacity, version-files.ts): a writer-backed project's log,
2+// path histories, shows and compares match the in-memory project's through edits, new and removed files, a line
4+
12+
23+
44+
54+ for (let v = 0; v <= oracle.version; v++) assert.deepEqual(project.show(v), oracle.show(v), `version ${v}`);
55+ // The file list at each version, folded from the kept shapes' files made and taken out: newest first, then from 0.
57+ for (let v = 0; v <= oracle.version; v++) assert.deepEqual(project.pathsAt(v), oracle.pathsAt(v), `paths at ${v}`);
59+ assert.deepEqual(project.tree("", { version: v }), oracle.tree("", { version: v }), `tree at ${v}`);
60+ // A compare reads the kept lists for the versions between (version-log.ts): both ways, and across the drop.
68+ assert.deepEqual(project.compare(from, to), oracle.compare(from, to), `compare ${from} to ${to}`);
- MCP
- compare on this site's /mcp
- CLI
- abso diff 2 318 worker/project/test/version-files.test.ts --json
- JSON
- /christopher/abso-core/compare/2..318?file=worker%2Fproject%2Ftest%2Fversion-files.test.ts&format=json