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:
committed by
Wolfgang Bumiller
parent
e9558f290a
commit
92c5cf42d1
@ -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