MCPcopy
hub / github.com/Waishnav/devspace / patchError

Function patchError

src/apply-patch.ts:43–45  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

41}
42
43function patchError(message: string): Error {
44 return new Error(`Invalid patch: ${message}`);
45}
46
47export function parsePatch(patch: string): PatchAction[] {
48 const lines = patchLines(patch);

Callers 7

parsePatchFunction · 0.85
finishCurrentFunction · 0.85
resolveConfinedPathFunction · 0.85
applyHunksFunction · 0.85
readRequiredTextFileFunction · 0.85
readOptionalTextFileFunction · 0.85
readUtf8TextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected