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

Method len

atomic-core/src/diff/ops.rs:425–427  ·  view source on GitHub ↗

Get the number of operations.

(&self)

Source from the content-addressed store, hash-verified

423
424 /// Get the number of operations.
425 pub fn len(&self) -> usize {
426 self.ops.len()
427 }
428
429 /// Check if there are no operations.
430 pub fn is_empty(&self) -> bool {

Callers 15

resolved_countMethod · 0.45
diff_tokensFunction · 0.45
coalesce_replaceFunction · 0.45
vertex_countMethod · 0.45
is_two_wayMethod · 0.45
content_sizeMethod · 0.45
tokenize_for_ftsFunction · 0.45
next_inode_adjMethod · 0.45
list_vault_entriesMethod · 0.45
count_kg_nodesMethod · 0.45
count_kg_edgesMethod · 0.45
cosine_similarityFunction · 0.45

Calls

no outgoing calls

Tested by 8

trunk_countMethod · 0.36
leaf_count_for_branchMethod · 0.36
count_branchesMethod · 0.36
count_leavesMethod · 0.36