datastore: minor cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
30ccc3003e
commit
53d073ec1a
|
@ -381,8 +381,7 @@ impl BackupDir {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn protected_file(&self) -> PathBuf {
|
pub fn protected_file(&self) -> PathBuf {
|
||||||
let mut path = self.store.base_path();
|
let mut path = self.full_path();
|
||||||
path.push(self.relative_path());
|
|
||||||
path.push(".protected");
|
path.push(".protected");
|
||||||
path
|
path
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue