Reduce features used on remote filesystems
This attempts to detect remote filesystems on Linux using the /proc/self/mountinfo file and checking the filesystem against a hardcoded list of remote filesystems. Remote filesystems will not thumbnail, read file data to determine mime types, or calculate directory sizes.
This commit is contained in:
parent
8ced8b0551
commit
dd98622cfa
6 changed files with 372 additions and 243 deletions
|
|
@ -963,7 +963,7 @@ impl Operation {
|
|||
op_sel.selected.push(new_dir.clone());
|
||||
|
||||
let controller = controller.clone();
|
||||
let mime = mime_for_path(path);
|
||||
let mime = mime_for_path(path, None, false);
|
||||
let password = password.clone();
|
||||
match mime.essence_str() {
|
||||
"application/gzip" | "application/x-compressed-tar" => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue