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

Method is_empty_contents

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

Check if the contents buffer is empty.

(&self)

Source from the content-addressed store, hash-verified

528
529 /// Check if the contents buffer is empty.
530 pub fn is_empty_contents(&self) -> bool {
531 self.contents.is_empty()
532 }
533
534 /// Get the size of the contents buffer.
535 pub fn contents_len(&self) -> usize {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected