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
15
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
exact_envelope_and_semantics_without_database
Function · 0.36
unusual_boundaries_empty_unicode_and_long_tokens_are_exact
Function · 0.36
exact_numeric_extremes_runs_and_irregular_blocks
Function · 0.36
rejects_bad_counts_lengths_widths_and_truncation
Function · 0.36
grammar_preserves_all_leaf_and_branch_shapes
Function · 0.36
arbitrary_authored_kinds_are_restored_with_exceptions
Function · 0.36
replays_exact_postcard_for_serde_shapes_and_numeric_extremes
Function · 0.36