(oldContent: string, newContent: string, filePath: string)
| 6 | } |
| 7 | |
| 8 | export function generateUnifiedDiff(oldContent: string, newContent: string, filePath: string): string { |
| 9 | return createPatch(filePath, oldContent, newContent, '', '', { context: 3 }); |
| 10 | } |
| 11 | |
| 12 | export function computeDiffStats(oldContent: string, newContent: string): DiffStats { |
| 13 | const changes = diffLines(oldContent, newContent); |
no outgoing calls
no test coverage detected