Build a standalone Windows desktop with opt-in project removal
This commit is contained in:
1 parent
2c5b9b5f10
commit
2c99cade7d
24 files changed
+1404
-168
No files matched your search
@@ -466,7 +466,12 @@ impl ProjectSnapshot {
|
||||
let mut links = 0;
|
||||
while let Some(part) = queue.pop_front() {
|
||||
match Path::new(&part).components().next().unwrap() {
|
||||
Component::Prefix(_) => current.push(&part),
|
||||
Component::Prefix(_) => {
|
||||
// A Windows volume prefix only names a directory once
|
||||
// its root component has been appended.
|
||||
current.push(&part);
|
||||
continue;
|
||||
}
|
||||
Component::RootDir => current.push(&part),
|
||||
Component::CurDir => {}
|
||||
Component::ParentDir => {
|
||||
|
||||
Reference in new issue
Block a user