mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-30 16:59:52 +00:00
update filereader/writer todo
This commit is contained in:
@@ -312,7 +312,7 @@ impl FileInfo {
|
||||
|
||||
/// Check if the object is remote (transitioned to another tier)
|
||||
pub fn is_remote(&self) -> bool {
|
||||
!self.transition_tier.as_ref().map_or(true, |s| s.is_empty())
|
||||
!self.transition_tier.as_ref().is_none_or(|s| s.is_empty())
|
||||
}
|
||||
|
||||
/// Get the data directory for this object
|
||||
|
||||
Reference in New Issue
Block a user