* @param lineIdx the 0-based line number of the tested line in the whole diff * @returns true if the line is part of the diff and false otherwise * @note: Returns true also for the header line (the one starting with `@@`) */
| 47 | * @note: Returns true also for the header line (the one starting with `@@`) |
| 48 | */ |
| 49 | bool containsDiffLine(uint lineIdx) const |
| 50 | { |
| 51 | return headingLineIdx <= lineIdx && lineIdx <= lastLineIdx(); |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Returns the index of the line within the hunk |
no outgoing calls
no test coverage detected