()
| 1842 | } |
| 1843 | |
| 1844 | function createEmptyFilePatchResponse(): GetFilePatchResponse { |
| 1845 | return { |
| 1846 | patch: "", |
| 1847 | truncated: false, |
| 1848 | heavy: false, |
| 1849 | stats: { |
| 1850 | insertions: 0, |
| 1851 | deletions: 0, |
| 1852 | changedLines: 0, |
| 1853 | hunkCount: 0, |
| 1854 | }, |
| 1855 | } |
| 1856 | } |
| 1857 | |
| 1858 | function resolveWorktreeFilePath(workDir: string, filePath: string): { absolutePath: string; relativePath: string } | null { |
| 1859 | const resolvedWorkDir = path.resolve(workDir) |
no outgoing calls
no test coverage detected