mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
fix: treat nfs4 mounts as soundless for directory refresh (#3800)
This commit is contained in:
parent
c703332b4b
commit
d4924ebcad
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ impl Partition {
|
|||
// and should be polled for changes.
|
||||
pub fn soundless(&self) -> bool {
|
||||
let b: &[u8] = self.fstype.as_ref().map_or(b"", |s| s.as_encoded_bytes());
|
||||
matches!(b, b"fuse.rclone")
|
||||
matches!(b, b"fuse.rclone" | b"nfs4")
|
||||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue