MCPcopy Create free account
hub / github.com/ds300/patch-package / commitFilePatch

Function commitFilePatch

src/patch/parse.ts:173–177  ·  view source on GitHub ↗
(i: number)

Source from the content-addressed store, hash-verified

171 }
172
173 function commitFilePatch(i: number) {
174 commitHunk(i)
175 result.push(currentFilePatch)
176 currentFilePatch = emptyFilePatch()
177 }
178
179 for (let i = 0; i < lines.length; i++) {
180 const line = lines[i]

Callers 1

parsePatchLinesFunction · 0.85

Calls 2

commitHunkFunction · 0.85
emptyFilePatchFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…