mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
Windows: backup path prefix
This commit is contained in:
parent
6374a888a9
commit
a920aaa912
@ -45,7 +45,14 @@ where
|
||||
if self.path.pop() {
|
||||
Some(TreeType::EndTree)
|
||||
} else {
|
||||
None
|
||||
// Check if we still have a path prefix open...
|
||||
match self.path.components().next() {
|
||||
Some(std::path::Component::Prefix(..)) => {
|
||||
self.path = PathBuf::new();
|
||||
Some(TreeType::EndTree)
|
||||
}
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
Some((path, node, _)) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user