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

Method leaf_op_count

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

Returns the number of leaf operations.

(&self)

Source from the content-addressed store, hash-verified

922
923 /// Returns the number of leaf operations.
924 pub fn leaf_op_count(&self) -> usize {
925 self.leaf_ops().len()
926 }
927
928 /// Returns true if this is an insert operation.
929 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