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

Function emptyHunk

src/patch/parse.ts:131–135  ·  view source on GitHub ↗
(headerLine: string)

Source from the content-addressed store, hash-verified

129})
130
131const emptyHunk = (headerLine: string): Hunk => ({
132 header: parseHunkHeaderLine(headerLine),
133 parts: [],
134 source: "",
135})
136
137const hunkLinetypes: {
138 [k: string]: PatchMutationPart["type"] | "pragma" | "header"

Callers 1

parsePatchLinesFunction · 0.85

Calls 1

parseHunkHeaderLineFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…