diff --git a/yazi-fs/src/mounts/partition.rs b/yazi-fs/src/mounts/partition.rs index b920169c..158a833d 100644 --- a/yazi-fs/src/mounts/partition.rs +++ b/yazi-fs/src/mounts/partition.rs @@ -14,8 +14,9 @@ pub struct Partition { } impl Partition { - // Match mount types that do not reliably emit change notifications, or do not update directory - // metadata on changes, and should be refreshed frequently / heuristically. + // Match mount types that do not reliably emit change notifications, or do not + // update directory metadata on changes, and should be refreshed frequently / + // heuristically. pub fn heuristic(&self) -> bool { let b: &[u8] = self.fstype.as_ref().map_or(b"", |s| s.as_encoded_bytes()); matches!(b, b"exfat" | b"fuse.rclone") diff --git a/yazi-fs/src/mounts/partitions.rs b/yazi-fs/src/mounts/partitions.rs index b04d3e92..ac0725ab 100644 --- a/yazi-fs/src/mounts/partitions.rs +++ b/yazi-fs/src/mounts/partitions.rs @@ -38,8 +38,8 @@ impl Partitions { } #[cfg(not(any(target_os = "linux", target_os = "macos")))] { - // For now, assume other targets update directory stat data correctly & do not need - // heuristic polling. + // For now, assume other targets update directory stat data correctly & do not + // need heuristic polling. false } }