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

Method merge

atomic-cli/src/commands/add.rs:529–534  ·  view source on GitHub ↗

Merge stats from a single operation.

(&mut self, stats: &TrackingStats)

Source from the content-addressed store, hash-verified

527
528 /// Merge stats from a single operation.
529 fn merge(&mut self, stats: &TrackingStats) {
530 self.files_added += stats.files_added;
531 self.directories_added += stats.directories_added;
532 self.explicit_directories += stats.explicit_directories_added;
533 self.skipped += stats.skipped;
534 }
535
536 /// Total items added.
537 fn total_added(&self) -> usize {

Callers 3

runMethod · 0.45

Calls

no outgoing calls

Tested by 2