User
error[E0425]: cannot find function metadata in this scope
--> src/tauri_commands/fs.rs:21:28
|
21 | let new_path = match metadata(&path).unwrap().is_dir() {
| ^^^^^^^^ not found in this scope
Еще в импорте fs.rs не хватает use std::path::PathBuf;
User error[E0425]: cannot find function
metadata
in this scope --> src/tauri_commands/fs.rs:21:28 | 21 | let new_path = match metadata(&path).unwrap().is_dir() { | ^^^^^^^^ not found in this scopeЕще в импорте fs.rs не хватает use std::path::PathBuf;
Как поставить патч я не понял: // see https://gitlab.freedesktop.org/dbus/dbus/-/issues/76