Count the number of changed hunks in the old line.
(&self)
| 453 | |
| 454 | /// Count the number of changed hunks in the old line. |
| 455 | pub fn old_change_count(&self) -> usize { |
| 456 | self.old_hunks.iter().filter(|s| s.is_change()).count() |
| 457 | } |
| 458 | |
| 459 | /// Count the number of changed hunks in the new line. |
| 460 | pub fn new_change_count(&self) -> usize { |