Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ len
Method
len
atomic-core/src/crdt/apply/order.rs:316–318 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
314
/// Returns the number of elements.
315
#[inline]
316
pub fn len(&self) -> usize {
317
self.elements.len()
318
}
319
320
/// Returns `true` if the sequence is empty.
321
#[inline]
Callers
15
iter_trunk_branches_in_file_order
Function · 0.45
content_len
Method · 0.45
encode_trunk_value
Function · 0.45
decode_trunk_value
Function · 0.45
test_trunk_value_decode_truncated_path
Function · 0.45
count_branches
Method · 0.45
count_leaves
Method · 0.45
find_insert_position
Function · 0.45
insert
Method · 0.45
resolve_position
Method · 0.45
count_branches
Method · 0.45
count_leaves
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_trunk_value_decode_truncated_path
Function · 0.36