MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / getFilePatchPathspecs

Function getFilePatchPathspecs

projects/electron/src/modules/code/git.ts:1837–1842  ·  view source on GitHub ↗
(filePath: string, oldPath?: string)

Source from the content-addressed store, hash-verified

1835}
1836
1837function getFilePatchPathspecs(filePath: string, oldPath?: string): string[] {
1838 if (oldPath && oldPath !== filePath) {
1839 return [oldPath, filePath]
1840 }
1841 return [filePath]
1842}
1843
1844function createEmptyFilePatchResponse(): GetFilePatchResponse {
1845 return {

Callers 2

handleGetCommitFilePatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected