backup manifest: make lookup_file_info public
useful to get info like, was the previous snapshot encrypted in libproxmox-backup-qemu Requested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		@ -104,7 +104,7 @@ impl BackupManifest {
 | 
			
		||||
        &self.files[..]
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    fn lookup_file_info(&self, name: &str) -> Result<&FileInfo, Error> {
 | 
			
		||||
    pub fn lookup_file_info(&self, name: &str) -> Result<&FileInfo, Error> {
 | 
			
		||||
 | 
			
		||||
        let info = self.files.iter().find(|item| item.filename == name);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user