mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-04-28 12:50:53 +00:00
file-restore: never list ppxar as archive
Payload data archives cannot be used to navigate the content, so exclude them from the archive listing, as this is used by Proxmox VE to list in the file browser. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
364e2d1133
commit
6cf75f2fe2
@ -124,7 +124,8 @@ async fn list_files(
|
||||
ExtractPath::ListArchives => {
|
||||
let mut entries = vec![];
|
||||
for file in manifest.files() {
|
||||
if !has_pxar_filename_extension(&file.filename, true)
|
||||
if !file.filename.ends_with(".pxar.didx")
|
||||
&& !file.filename.ends_with(".mpxar.didx")
|
||||
&& !file.filename.ends_with(".img.fidx")
|
||||
{
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user