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

Method leaf_op_count

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

Returns the number of leaf operations.

(&self)

Source from the content-addressed store, hash-verified

937
938 /// Returns the number of leaf operations.
939 pub fn leaf_op_count(&self) -> usize {
940 self.leaf_ops().len()
941 }
942
943 /// Returns true if this is an insert operation.
944 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