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

Method content_len

atomic-core/src/change/format_v3/sections.rs:252–254  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

250 /// Returns the content size in bytes.
251 #[inline]
252 pub fn content_len(&self) -> u64 {
253 self.content_end.saturating_sub(self.content_start)
254 }
255
256 /// Returns `true` if this file has no associated content.
257 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected