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

Method is_empty

atomic-objects/src/sync.rs:191–193  ·  view source on GitHub ↗

Whether this pack carries nothing.

(&self)

Source from the content-addressed store, hash-verified

189
190 /// Whether this pack carries nothing.
191 pub fn is_empty(&self) -> bool {
192 self.objects.is_empty() && self.refs.is_empty()
193 }
194
195 /// Encode to a compressed wire body. See [`encode`].
196 pub fn encode(&self) -> Result<Vec<u8>, SyncError> {

Callers 1

wants_allMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected