5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-05 09:17:59 +03:00
proxmox-backup/pbs-api-types
Christian Ebner addfae26cf api types: introduce BackupArchiveName type
Introduces a dedicated wrapper type to be used for backup archive
names instead of plain strings and associated helper methods for
archive type checks and archive name mappings.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>

FG: use LazyLock for constant archive names reduces churn, and saves some
allocations

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-11-22 13:46:35 +01:00
..
src api types: introduce BackupArchiveName type 2024-11-22 13:46:35 +01:00
tests move api-types tests to api-types and drop vec![] macro 2024-01-10 10:13:45 +01:00
Cargo.toml api-types: remove unused lazy_static dependency 2024-08-14 12:08:01 +02:00