Check if this file has any changes.
(&self)
| 171 | |
| 172 | /// Check if this file has any changes. |
| 173 | pub fn has_changes(&self) -> bool { |
| 174 | self.insertions > 0 || self.deletions > 0 |
| 175 | } |
| 176 | |
| 177 | /// Check if this file was added. |
| 178 | pub fn is_added(&self) -> bool { |