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

Method is_empty

atomic-core/src/change/classification.rs:193–195  ·  view source on GitHub ↗

Returns whether this frontier has no roots.

(&self)

Source from the content-addressed store, hash-verified

191
192 /// Returns whether this frontier has no roots.
193 pub fn is_empty(&self) -> bool {
194 self.roots.is_empty()
195 }
196
197 pub(crate) fn validate(&self) -> Result<(), ChangeValidationError> {
198 validate_canonical_hashes("causal_frontier", &self.roots)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected