]> git.proxmox.com Git - proxmox-backup.git/commit
file-restore-daemon: disk: allow arbitrary component count per bucket
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 17 May 2021 12:31:36 +0000 (14:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 May 2021 05:53:22 +0000 (07:53 +0200)
commit3d7ca2bdb90d6b39f1b927f4cbb8278cb02f4452
tree8b8f300bca3046be1d451de733c38bd7fdcd993f
parentd34019e246d92f0eddffec3d0d13194ddc6037dc
file-restore-daemon: disk: allow arbitrary component count per bucket

A bucket might contain multiple (or 0) layers of components in its path
specification, so allow a mapping between bucket type strings and
expected component depth. For partitions, this is 1, as there is only
the partition number layer below the "part" node.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/bin/proxmox_restore_daemon/disk.rs