Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 21 to 318

Compare

+19 −1 in 2 places
Lines 59–65 at 318 (were 59–65 at 21)
5959 {
6060 cwd: root,
6161 env,
62− input: paths.join("\0") + "\0",
62+ input: `${paths.join("\0")}\0`,
6363 encoding: "utf8",
6464 },
6565 );
Lines 305–328 at 318 (were 305–310 at 21)
305305 assert.equal(ignore.why("src/b.md", false).rule?.source, "src/.avcsignore");
306306 });
307307
308+ it("read .absoignore, which beats .avcsignore and .gitignore in the same folder", () => {
309+ const root = temp();
310+ write(root, {
311+ ".gitignore": "*.txt\n",
312+ ".avcsignore": "*.md\n",
313+ ".absoignore": "!a.txt\n!a.md\n*.log\n",
314+ "a.txt": "x",
315+ "a.md": "x",
316+ "b.md": "x",
317+ "c.log": "x",
318+ });
319+ const ignore = loadIgnore(root, { home: temp() });
320+ assert.equal(ignore("a.txt", false), false);
321+ assert.equal(ignore("a.md", false), false);
322+ assert.equal(ignore("c.log", false), true);
323+ assert.equal(ignore.why("c.log", false).rule?.source, ".absoignore");
324+ });
308326 it("always skip .git, .abso, .claude and node_modules", () => {
309327 const ignore = loadIgnore(temp(), {});
310328 assert.equal(ignore.why(".claude/scheduled_tasks.lock", false).alwaysSkipped, ".claude");
MCP
compare on this site's /mcp
CLI
abso diff 21 318 client/test/ignore.test.ts --json
JSON
/christopher/abso-core/compare/21..318?file=client%2Ftest%2Fignore.test.ts&format=json