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

Method total

atomic-core/src/apply/workspace.rs:734–743  ·  view source on GitHub ↗

Get the total number of items tracked.

(&self)

Source from the content-addressed store, hash-verified

732
733 /// Get the total number of items tracked.
734 pub fn total(&self) -> usize {
735 self.up_context_count
736 + self.down_context_count
737 + self.pending_edge_count
738 + self.deleted_edge_count
739 + self.parent_count
740 + self.missing_context_count
741 + self.zombie_count
742 + self.rooted_count
743 }
744}
745
746#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected