Check if this error indicates a missing or inaccessible path. This is useful for handling cases where files may have been deleted or moved during recording. # Returns `true` if the error is about a missing or inaccessible path.
(&self)
| 429 | /// |
| 430 | /// `true` if the error is about a missing or inaccessible path. |
| 431 | pub fn is_path_error(&self) -> bool { |
| 432 | matches!( |
| 433 | self, |
| 434 | Self::PathNotInRepo { .. } |
| 435 | | Self::PathNotFound { .. } |
| 436 | | Self::PermissionDenied { .. } |
| 437 | | Self::InodeNotFound { .. } |
| 438 | ) |
| 439 | } |
| 440 | |
| 441 | /// Check if this error indicates a storage/database problem. |
| 442 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected