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

Method is_view_error

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

Check if this error is related to view operations.

(&self)

Source from the content-addressed store, hash-verified

511
512 /// Check if this error is related to view operations.
513 pub fn is_view_error(&self) -> bool {
514 matches!(
515 self,
516 Self::ViewNotFound { .. }
517 | Self::ViewAlreadyExists { .. }
518 | Self::CannotDeleteCurrentView { .. }
519 )
520 }
521
522 /// Check if this error is related to file operations.
523 pub fn is_file_error(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected