pbs-datastore: add protection info to BackupInfo
and add necessary helper functions (protected_file/is_protected) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
1 parent
e9558f290a
commit
92c5cf42d1
2 files changed
+19
-3
No files matched your search
+1
-1
@@ -42,7 +42,7 @@ fn create_info(
|
||||
files.push(String::from(MANIFEST_BLOB_NAME));
|
||||
}
|
||||
|
||||
BackupInfo { backup_dir, files }
|
||||
BackupInfo { backup_dir, files, protected: false }
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user