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

Method total_operations

atomic-core/src/crdt/apply/context.rs:321–323  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

319 /// Returns the total number of all operations.
320 #[inline]
321 pub fn total_operations(&self) -> u64 {
322 self.total_trunk_ops() + self.total_branch_ops() + self.total_leaf_ops()
323 }
324
325 /// Returns `true` if any operations were processed.
326 #[inline]

Callers 2

has_operationsMethod · 0.80

Calls 3

total_trunk_opsMethod · 0.45
total_branch_opsMethod · 0.45
total_leaf_opsMethod · 0.45

Tested by

no test coverage detected