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

Method is_empty

atomic-core/src/apply/workspace.rs:419–426  ·  view source on GitHub ↗

Check if the workspace is empty (no state accumulated). # Returns `true` if all collections are empty.

(&self)

Source from the content-addressed store, hash-verified

417 ///
418 /// `true` if all collections are empty.
419 pub fn is_empty(&self) -> bool {
420 self.predecessors.is_empty()
421 && self.successors.is_empty()
422 && self.pending_edges.is_empty()
423 && self.deleted_edges.is_empty()
424 && self.missing_contexts.is_empty()
425 && self.zombies.is_empty()
426 }
427
428 // Context Management
429

Callers 2

has_missing_contextsMethod · 0.45
has_zombiesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected