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

Method is_dependency_error

atomic-core/src/apply/error.rs:394–401  ·  view source on GitHub ↗

Check if this error indicates a missing dependency. # Returns `true` if the error is about a missing dependency.

(&self)

Source from the content-addressed store, hash-verified

392 ///
393 /// `true` if the error is about a missing dependency.
394 pub fn is_dependency_error(&self) -> bool {
395 matches!(
396 self,
397 Self::DependencyMissing { .. }
398 | Self::NodeNotFound { .. }
399 | Self::MissingContext { .. }
400 )
401 }
402
403 /// Check if this error indicates the change was already applied.
404 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected