mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-18 10:04:36 +01:00
potential background getting
This commit is contained in:
@@ -20,6 +20,6 @@ pub fn rename(path: String, new_name: String) {
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn dir_exists(path: String) -> bool {
|
||||
pub fn dir_exists(path: &str) -> bool {
|
||||
return fs::metadata(&path).is_ok();
|
||||
}
|
||||
Reference in New Issue
Block a user