(text: string)
| 54 | } |
| 55 | |
| 56 | export function normalizeLineEndings(text: string): string { |
| 57 | return text.replace(/\r\n/g, '\n'); |
| 58 | } |
| 59 | |
| 60 | export function createUnifiedDiff(originalContent: string, newContent: string, filepath: string = 'file'): string { |
| 61 | // Ensure consistent line endings for diff |
no outgoing calls
no test coverage detected