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

Method merge

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

Merge stats from a single operation.

(&mut self, stats: &TrackingStats)

Source from the content-addressed store, hash-verified

675
676 /// Merge stats from a single operation.
677 fn merge(&mut self, stats: &TrackingStats) {
678 self.files_added += stats.files_added;
679 self.directories_added += stats.directories_added;
680 self.explicit_directories += stats.explicit_directories_added;
681 self.skipped += stats.skipped;
682 }
683
684 /// Total items added.
685 fn total_added(&self) -> usize {

Callers 3

runMethod · 0.45

Calls

no outgoing calls

Tested by 2