Normalize one raw diff line before rendering.
(line: string | undefined)
| 440 | |
| 441 | /** Normalize one raw diff line before rendering. */ |
| 442 | function cleanDiffLine(line: string | undefined) { |
| 443 | return tabify(cleanLastNewline(line ?? "")); |
| 444 | } |
| 445 | |
| 446 | /** Build the normalized render model for one split-view cell. */ |
| 447 | function makeSplitCell( |
no test coverage detected