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

Method leaf_op_count

atomic-core/src/change/ops.rs:592–594  ·  view source on GitHub ↗

Returns the number of leaf operations.

(&self)

Source from the content-addressed store, hash-verified

590
591 /// Returns the number of leaf operations.
592 pub fn leaf_op_count(&self) -> usize {
593 self.leaf_ops().len()
594 }
595
596 /// Returns true if this is an insert operation.
597 pub fn is_insert(&self) -> bool {

Callers 1

token_countMethod · 0.80

Calls 2

lenMethod · 0.45
leaf_opsMethod · 0.45

Tested by

no test coverage detected