MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / max_change_count

Method max_change_count

atomic-repository/src/diff_engine.rs:264–270  ·  view source on GitHub ↗

Get the maximum change count for formatting.

(&self)

Source from the content-addressed store, hash-verified

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
273impl IntoIterator for DiffStats {

Callers

nothing calls this directly

Calls 2

iterMethod · 0.45
total_changesMethod · 0.45

Tested by

no test coverage detected