Versions 2 to 318
new file, 353 lines
14+
24+
43+
46+
50+ * closing bracket, no semicolons at line ends (or before a comment there), and no parentheses around a
63+
68+
89+
92+
98+function byCharacters(before: readonly string[], after: readonly string[], at: number): number | undefined {
117+
141+
189+
221+ // The file to read its hunk in: where the view has it, or where it was written, whichever pairs it.
223+ let found: { seq: readonly SeqLine[]; at: number; hunk: { before: number[]; after: number[] } } | undefined;
257+ const maybeMoved = searched || (replaced !== undefined && graph.lineFile(replaced) !== graph.lineFile(id));
271+
280+
283+
304+ // Only atoms pushed with this one can count (samePush), so where the caller can list them, those are the candidates
305+ // (abso Capacity): reading every atom within NEAR of it was 10,000 atom reads a step on abso. Otherwise, every atom
312+ for (let s = Math.max(0, atom.seq - NEAR); s <= Math.min(all.length - 1, atom.seq + NEAR); s++) yield all[s]!;
315+ if (other.author !== atom.author || !view.set.has(other.id) || !samePush(other, atom)) continue;
327+
334+function hunkOf(seq: readonly SeqLine[], at: number, atom: Atom): { before: number[]; after: number[] } {
- MCP
- compare on this site's /mcp
- CLI
- abso diff 2 318 worker/project/trail.ts --json
- JSON
- /christopher/abso-core/compare/2..318?file=worker%2Fproject%2Ftrail.ts&format=json