Whether retrying after the competing operation completes can succeed.
(&self)
| 454 | impl RepositoryError { |
| 455 | /// Whether retrying after the competing operation completes can succeed. |
| 456 | pub fn is_lock_contended(&self) -> bool { |
| 457 | matches!(self, RepositoryError::LockContended { .. }) |
| 458 | } |
| 459 | |
| 460 | /// Check if this error indicates the repository doesn't exist |
| 461 | pub fn is_not_found(&self) -> bool { |
no outgoing calls
no test coverage detected