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

Method contents_len

atomic-core/src/record/builder.rs:242–244  ·  view source on GitHub ↗

Get the total size of recorded contents. # Returns The number of bytes in the contents buffer.

(&self)

Source from the content-addressed store, hash-verified

240 ///
241 /// The number of bytes in the contents buffer.
242 pub fn contents_len(&self) -> usize {
243 self.contents.len()
244 }
245
246 /// Append raw bytes to the contents buffer.
247 ///

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected