MCPcopy 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_countMethod · 0.45
leaf_op_countMethod · 0.45
serializeMethod · 0.45
deserializeMethod · 0.45
is_attestationMethod · 0.45
change_countMethod · 0.45
detect_bomMethod · 0.45
skip_bomMethod · 0.45
short_attributionMethod · 0.45
append_contentsMethod · 0.45
serializeMethod · 0.45
hunk_countMethod · 0.45

Calls

no outgoing calls

Tested by 4

serializeMethod · 0.36
deserializeMethod · 0.36
is_attestationMethod · 0.36
change_countMethod · 0.36