Get the maximum change count for formatting.
(&self)
| 262 | |
| 263 | /// Get the maximum change count for formatting. |
| 264 | pub fn max_change_count(&self) -> usize { |
| 265 | self.files |
| 266 | .iter() |
| 267 | .map(|f| f.total_changes()) |
| 268 | .max() |
| 269 | .unwrap_or(0) |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | impl IntoIterator for DiffStats { |
nothing calls this directly
no test coverage detected