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

Method merge

atomic-core/src/diff/display.rs:766–770  ·  view source on GitHub ↗

Merge another stats into this one.

(&mut self, other: &DiffStats)

Source from the content-addressed store, hash-verified

764
765 /// Merge another stats into this one.
766 pub fn merge(&mut self, other: &DiffStats) {
767 self.files_changed += other.files_changed;
768 self.lines_added += other.lines_added;
769 self.lines_removed += other.lines_removed;
770 }
771}
772
773impl fmt::Display for DiffStats {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected