Versions 181 to 318
Lines 15–28 at 318 (were 15–27 at 181)
1717
18−for (const mode of ["success", "limit", "fatal", "server-intake", "text-intake"])
18+for (const mode of ["success", "limit", "fatal", "server-intake", "text-intake", "binary-limit"])
2424 const blob = mode === "text-intake" ? Buffer.from("x".repeat(16383) + "🚀é中".repeat(20000)) : randomBytes(400000);
Lines 128–139 at 318 (were 127–138 at 181)
130− if (mode === "server-intake" || mode === "text-intake") {
132− if (mode === "text-intake") {
135− if (oid === blobOid) throw Error("whole text blob read forbidden");
Lines 149–165 at 318 (were 148–162 at 181)
155− undefined,
161164 retainFileChunks: (files, path, chunks, oid) => trees.retainChunks(files, path, chunks, oid),
Lines 167–176 at 318 (were 164–170 at 181)
166169 if (mode === "text-intake") assert.equal(found!.commits[0]!.files["large.bin"], blob.toString("utf8"));
167− else assert.equal(found!.commits[0]!.blobs["large.bin"], "fixture-blob");
169175 for (const table of ["git_pack_spool", "git_pack_resolve", "git_object_meta", "git_object_bytes"])
- MCP
- compare on this site's /mcp
- CLI
- abso diff 181 318 server/test/git-disk-clone.test.ts --json
- JSON
- /christopher/abso-core/compare/181..318?file=server%2Ftest%2Fgit-disk-clone.test.ts&format=json