MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getPatchFromContents

Function getPatchFromContents

source code/utils/diff.ts:83–116  ·  view source on GitHub ↗
({
  filePath,
  oldContent,
  newContent,
  ignoreWhitespace = false,
  singleHunk = false,
}: {
  filePath: string
  oldContent: string
  newContent: string
  ignoreWhitespace?: boolean
  singleHunk?: boolean
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getPatchForEditsFunction · 0.85
computeEditsFromContentsFunction · 0.85

Calls 1

escapeForDiffFunction · 0.85

Tested by

no test coverage detected