Get the total number of changed lines.
(&self)
| 166 | |
| 167 | /// Get the total number of changed lines. |
| 168 | pub fn total_changes(&self) -> usize { |
| 169 | self.insertions + self.deletions |
| 170 | } |
| 171 | |
| 172 | /// Check if this file has any changes. |
| 173 | pub fn has_changes(&self) -> bool { |