Get the maximum path length for formatting.
(&self)
| 257 | |
| 258 | /// Get the maximum path length for formatting. |
| 259 | pub fn max_path_length(&self) -> usize { |
| 260 | self.files.iter().map(|f| f.path.len()).max().unwrap_or(0) |
| 261 | } |
| 262 | |
| 263 | /// Get the maximum change count for formatting. |
| 264 | pub fn max_change_count(&self) -> usize { |