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

Method is_not_found

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

Check if this error indicates something was not found.

(&self)

Source from the content-addressed store, hash-verified

511
512 /// Check if this error indicates something was not found.
513 pub fn is_not_found(&self) -> bool {
514 matches!(
515 self,
516 Self::RepositoryNotFound { .. }
517 | Self::ViewNotFound { .. }
518 | Self::FileNotFound { .. }
519 | Self::ChangeNotFound { .. }
520 | Self::VaultEntityNotFound { .. }
521 | Self::RemoteNotFound { .. }
522 )
523 }
524
525 /// Check if this error is related to view operations.
526 pub fn is_view_error(&self) -> bool {

Callers 3

resolve_identityFunction · 0.45
verify_workspace_existsFunction · 0.45
map_project_errorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected