Versions 175 to 318
Lines 23–31 at 318 (were 23–28 at 175)
2525
26+/** Older versions' file lists kept per space (a few agents' bases): about 1,000 paths each on abso. */
28+
2831
Lines 44–129 at 318 (were 41–46 at 175)
4346
49+ /** The files at a few older versions, worked back from the newest (agents' bases, mostly), most recent last. */
51+
53+ * The files at a version older than the newest folded (abso Capacity): the newest's files with each version since
54+ * undone, its made files taken out and its gone ones put back. Folding from version 0 again for an agent's base
82+
84+ * The files a space has at a version, from the kept rows of every version up to it: each one's files made and
85+ * taken out, folded from version 0 (abso Capacity). Undefined when a version has no kept row that describes it;
92+
94+ * The files the versions after `from`, up to `to`, changed, from each version's kept row (abso 738): undefined when one
95+ * has none, and the caller works them out from the atoms. Every file whose text differs between the two versions is
107+
108+ /** keptPaths as a set, kept for the newest version asked: never changed once made, so a view can hold it. */
126+
44127 /** Each space's path index (#41): built the first time it's asked for, then kept up as versions land. */
46129
Lines 147–180 at 318 (were 64–74 at 175)
64147 // Net changes only, as show has them: a file made and removed again before the publish isn't one (#37).
153+
155+ * Keep a version's changed files, with its files made and taken out and its moves: worked out here, or as the
156+ * version landed (version-files.ts, abso Capacity), which says which files existed before and after.
68172 // Files made and taken out, and which of those are one file moved (#41): an atom that moves lines
70− const made = files.filter((f) => !before.hasFile(f) && after.hasFile(f));
71− const gone = files.filter((f) => before.hasFile(f) && !after.hasFile(f));
Lines 193–198 at 318 (were 87–93 at 175)
89195 this.#deps.shapes?.put(space.name, version, JSON.stringify({ stamp: shapeStamp(p), files, made, gone, moves }));
90− return files;
92197
93198 /** A version's files kept from an earlier load (#41), when the row describes this very version; into the caches. */
- MCP
- compare on this site's /mcp
- CLI
- abso diff 175 318 worker/project/pathindex.ts --json
- JSON
- /christopher/abso-core/compare/175..318?file=worker%2Fproject%2Fpathindex.ts&format=json