Remove all usages of the legacy scheme syntax

This commit is contained in:
bjorn3
2024-08-18 21:44:10 +02:00
parent d352203794
commit 34a832b43e
+2 -2
View File
@@ -28,7 +28,7 @@ fn disk_paths(_paths: &mut Vec<(String, u64)>) {}
#[cfg(target_os = "redox")]
fn disk_paths(paths: &mut Vec<(String, u64)>) {
let mut schemes = Vec::new();
match fs::read_dir(":") {
match fs::read_dir("/scheme") {
Ok(entries) => for entry_res in entries {
if let Ok(entry) = entry_res {
let path = entry.path();
@@ -269,7 +269,7 @@ fn choose_password() -> Option<String> {
}
fn main() {
let root_path = Path::new("file:");
let root_path = Path::new("/");
let disk_path = choose_disk();