Check if this error is related to file operations.
(&self)
| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected