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

Method empty

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

An empty pack (no objects, no refs) — a no-op push or an up-to-date pull.

()

Source from the content-addressed store, hash-verified

184impl SyncPack {
185 /// An empty pack (no objects, no refs) — a no-op push or an up-to-date pull.
186 pub fn empty() -> Self {
187 SyncPack::default()
188 }
189
190 /// Whether this pack carries nothing.
191 pub fn is_empty(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected