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

Method total_leaf_ops

atomic-core/src/apply/file_ops.rs:120–122  ·  view source on GitHub ↗

Returns total leaf operations.

(&self)

Source from the content-addressed store, hash-verified

118
119 /// Returns total leaf operations.
120 pub fn total_leaf_ops(&self) -> usize {
121 self.leaves_created + self.leaves_deleted + self.leaves_replaced + self.leaves_restored
122 }
123
124 /// Returns true if any operations were applied.
125 pub fn has_operations(&self) -> bool {

Callers 1

has_operationsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected