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

Method is_not_found

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

Check if this error indicates something was not found.

(&self)

Source from the content-addressed store, hash-verified

385
386 /// Check if this error indicates something was not found.
387 pub fn is_not_found(&self) -> bool {
388 matches!(
389 self,
390 Self::RepositoryNotFound { .. }
391 | Self::ViewNotFound { .. }
392 | Self::FileNotFound { .. }
393 | Self::ChangeNotFound { .. }
394 | Self::RemoteNotFound { .. }
395 )
396 }
397
398 /// Check if this error is related to view operations.
399 pub fn is_view_error(&self) -> bool {

Callers 3

resolve_identityFunction · 0.45
verify_workspace_existsFunction · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected