MCPcopy Index your code
hub / github.com/bigcode-project/jupytercoder / conflict

Function conflict

src/diff.js:1352–1359  ·  view source on GitHub ↗
(hunk, mine, their)

Source from the content-addressed store, hash-verified

1350 }
1351
1352 function conflict(hunk, mine, their) {
1353 hunk.conflict = true;
1354 hunk.lines.push({
1355 conflict: true,
1356 mine: mine,
1357 theirs: their
1358 });
1359 }
1360
1361 function insertLeading(hunk, insert, their) {
1362 while (insert.offset < their.offset && insert.index < insert.lines.length) {

Callers 3

mergeLinesFunction · 0.85
mutualChangeFunction · 0.85
removalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected