Check if this error is related to remote operations
(&self)
| 501 | |
| 502 | /// Check if this error is related to remote operations |
| 503 | pub fn is_remote_error(&self) -> bool { |
| 504 | matches!( |
| 505 | self, |
| 506 | RepositoryError::RemoteNotFound { .. } |
| 507 | | RepositoryError::NoRemotesConfigured |
| 508 | | RepositoryError::Remote(_) |
| 509 | ) |
| 510 | } |
| 511 | |
| 512 | /// Check if this error is related to apply operations |
| 513 | pub fn is_apply_error(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected