MCPcopy Index your code
hub / github.com/anomalyco/opencode / emptyFileDiff

Function emptyFileDiff

packages/session-ui/src/components/session-diff.ts:142–144  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

140}
141
142function emptyFileDiff(file: string) {
143 return parseDiffFromFile({ name: file, contents: "" }, { name: file, contents: "" })
144}

Callers 2

fileDiffFromPatchFunction · 0.85
fileDiffFromContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected