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

Method is_noop

atomic-cli/src/commands/push/helpers.rs:168–170  ·  view source on GitHub ↗

True when neither storing nor declaring is needed.

(&self)

Source from the content-addressed store, hash-verified

166impl ViewSyncPlan {
167 /// True when neither storing nor declaring is needed.
168 pub fn is_noop(&self) -> bool {
169 self.suffix.is_empty() && !self.declare
170 }
171}
172
173/// Compute the sync plan for one view: what to store and whether to declare.

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected