fix: #137 #186 skip delete marker objects when list object

This commit is contained in:
weisd
2024-12-31 16:57:01 +08:00
parent 2d0f286a66
commit dd0a744a3e
11 changed files with 128 additions and 32 deletions
+4
View File
@@ -355,6 +355,10 @@ pub fn is_err_file_not_found(err: &Error) -> bool {
matches!(err.downcast_ref::<DiskError>(), Some(DiskError::FileNotFound))
}
pub fn is_err_file_version_not_found(err: &Error) -> bool {
matches!(err.downcast_ref::<DiskError>(), Some(DiskError::FileVersionNotFound))
}
pub fn is_err_volume_not_found(err: &Error) -> bool {
matches!(err.downcast_ref::<DiskError>(), Some(DiskError::VolumeNotFound))
}