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

Function assertNever

src/assertNever.ts:1–3  ·  view source on GitHub ↗
(x: never)

Source from the content-addressed store, hash-verified

1export function assertNever(x: never): never {
2 throw new Error("Unexpected object: " + x)
3}

Callers 8

mutateFilesFunction · 0.90
reverseHunkFunction · 0.90
parsePatchLinesFunction · 0.90
interpretParsedPatchFileFunction · 0.90
verifyHunkIntegrityFunction · 0.90
executeEffectsFunction · 0.90
applyPatchFunction · 0.90
evaluateHunkFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…