Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bigcode-project/jupytercoder
/ hunkBefore
Function
hunkBefore
src/diff.js:1238–1240 ·
view source on GitHub ↗
(test, check)
Source
from the content-addressed store, hash-verified
1236
}
1237
1238
function
hunkBefore(test, check) {
1239
return
test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart;
1240
}
1241
1242
function
cloneHunk(hunk, offset) {
1243
return
{
Callers
1
merge
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected