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

Method wants_all

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

Whether this asks for all views (empty `refs`).

(&self)

Source from the content-addressed store, hash-verified

246
247 /// Whether this asks for all views (empty `refs`).
248 pub fn wants_all(&self) -> bool {
249 self.refs.is_empty()
250 }
251
252 /// Encode to a compressed wire body. See [`encode`].
253 pub fn encode(&self) -> Result<Vec<u8>, SyncError> {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected