Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ len
Method
len
atomic-core/src/change/atom.rs:218–220 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
216
/// Get the length of the content in bytes.
217
#[inline]
218
pub fn len(&self) -> usize {
219
self.end - self.start
220
}
221
222
/// Check if this span has zero length.
223
///
Callers
14
line_count
Method · 0.45
leaf_op_count
Method · 0.45
serialize
Method · 0.45
deserialize
Method · 0.45
is_attestation
Method · 0.45
change_count
Method · 0.45
detect_bom
Method · 0.45
skip_bom
Method · 0.45
short_attribution
Method · 0.45
append_contents
Method · 0.45
serialize
Method · 0.45
hunk_count
Method · 0.45
Calls
no outgoing calls
Tested by
4
serialize
Method · 0.36
deserialize
Method · 0.36
is_attestation
Method · 0.36
change_count
Method · 0.36