proxmox-backup/src/tape/file_formats
Dominik Csapak 9c65e6ab4a tape: fix snapshot path in catalog and snapshot_archive
both used the 'Display' trait of pbs_datastore::BackupDir, which is not
intended to be serialized anywhere. Instead, manually format the path
using the print_ns_and_snapshot helper, and conversely, parse with
'parse_ns_and_snapshot'. to be a bit safer, change the register_snapshot
signature to take a BackupNamespace and BackupDir instead of a string.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2022-05-13 13:52:50 +02:00
..
catalog_archive.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
chunk_archive.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
mod.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
multi_volume_reader.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
multi_volume_writer.rs tape: rust fmt 2022-04-10 17:49:03 +02:00
snapshot_archive.rs tape: fix snapshot path in catalog and snapshot_archive 2022-05-13 13:52:50 +02:00