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

Method is_file_error

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

Check if this error is related to file operations.

(&self)

Source from the content-addressed store, hash-verified

521
522 /// Check if this error is related to file operations.
523 pub fn is_file_error(&self) -> bool {
524 matches!(
525 self,
526 Self::FileNotFound { .. }
527 | Self::FileNotTracked { .. }
528 | Self::FileAlreadyTracked { .. }
529 | Self::PathOutsideRepository { .. }
530 | Self::PathIgnored { .. }
531 )
532 }
533
534 /// Check if this error is related to remote operations.
535 pub fn is_remote_error(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected