MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / content_len

Method content_len

atomic-core/src/crdt/leaf.rs:193–195  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

191 /// Returns the content length in bytes.
192 #[inline]
193 pub fn content_len(&self) -> u32 {
194 self.content_end - self.content_start
195 }
196
197 /// Returns `true` if this is an empty token.
198 #[inline]

Callers 3

recordMethod · 0.45
process_added_fileFunction · 0.45
process_modified_fileFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected