Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
main
Function · 0.45
resolved_count
Method · 0.45
diff_tokens
Function · 0.45
coalesce_replace
Function · 0.45
vertex_count
Method · 0.45
is_two_way
Method · 0.45
try_merge
Method · 0.45
is_token_subsequence
Function · 0.45
diff
Function · 0.45
patience_diff_recursive
Function · 0.45
longest_increasing_subsequence
Function · 0.45
diff_with_anchors
Function · 0.45
Calls
no outgoing calls
Tested by
6
trunk_count
Method · 0.36
branch_count_for_trunk
Method · 0.36
leaf_count_for_branch
Method · 0.36
count_branches
Method · 0.36
count_leaves
Method · 0.36
every_vector_meets_its_manifest_verdict
Function · 0.36