MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / insertion

Function insertion

api/diffview.ts:213–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 b = d - 1;
212 },
213 insertion = function diffview_opcodes_insertion(): void {
214 do {
215 table[two[d]][1] = table[two[d]][1] - 1;
216 d = d + 1;
217 } while (d < lenb && table[two[d]][0] < 1);
218 fix(["insert", -1, -1, b, d]);
219 a = c - 1;
220 b = d - 1;
221 },
222 insertionStatic = function diffview_opcodes_insertionStatic(): void {
223 table[two[b]][1] = table[two[b]][1] - 1;
224 fix([

Callers 1

codeBuildFunction · 0.85

Calls 1

fixFunction · 0.85

Tested by

no test coverage detected