(line: string)
| 37 | |
| 38 | // Matches `--- ...` and `+++ ...` file header lines. |
| 39 | function isFileHeader(line: string): boolean { |
| 40 | return (/^(---|\+\+\+)\s/).test(line); |
| 41 | } |
| 42 | |
| 43 | // Matches `@@ ...` hunk header lines. |
| 44 | function isHunkHeader(line: string): boolean { |
no outgoing calls
no test coverage detected