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

Method merge

atomic-core/src/output/mod.rs:436–443  ·  view source on GitHub ↗

Merge statistics from another operation.

(&mut self, other: &Self)

Source from the content-addressed store, hash-verified

434
435 /// Merge statistics from another operation.
436 pub fn merge(&mut self, other: &Self) {
437 self.files_written += other.files_written;
438 self.directories_created += other.directories_created;
439 self.files_deleted += other.files_deleted;
440 self.files_skipped += other.files_skipped;
441 self.conflicts += other.conflicts;
442 self.bytes_written += other.bytes_written;
443 }
444
445 /// Check if any conflicts were detected.
446 pub fn has_conflicts(&self) -> bool {

Callers 1

test_output_stats_mergeFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_output_stats_mergeFunction · 0.36