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

Method is_apply_error

atomic-repository/src/error.rs:513–521  ·  view source on GitHub ↗

Check if this error is related to apply operations

(&self)

Source from the content-addressed store, hash-verified

511
512 /// Check if this error is related to apply operations
513 pub fn is_apply_error(&self) -> bool {
514 matches!(
515 self,
516 RepositoryError::Apply(_)
517 | RepositoryError::ChangeNotFound { .. }
518 | RepositoryError::ChangeAlreadyApplied { .. }
519 | RepositoryError::MissingDependency { .. }
520 )
521 }
522}
523
524impl From<PristineError> for RepositoryError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected