(line: string)
| 106 | } |
| 107 | |
| 108 | function isWrappedAtHeader(line: string): boolean { |
| 109 | return /^@@.*@@(?: .*)?$/.test(line) |
| 110 | } |
| 111 | |
| 112 | function parseCreateDiff(lines: string[]): string { |
| 113 | // Keep compatibility with unified create payloads by ignoring common diff headers. |