mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
Merge pull request #542 from rustic-rs/windows-prefix
Windows: backup path prefix
This commit is contained in:
commit
4fad663abd
@ -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