]> git.proxmox.com Git - proxmox-backup.git/commit
catalog: shell: introduce new CatalogPathStack to navigate in catalog shell.
authorChristian Ebner <c.ebner@proxmox.com>
Thu, 27 Feb 2020 16:12:58 +0000 (17:12 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 28 Feb 2020 07:50:43 +0000 (08:50 +0100)
commitfee5528e59609146cceebf29a4ff2ea7692d2e90
tree085c6a88cef80e32a05f46a0bc51e3cec299c45f
parent4145c367493101824ce280744943beb035dcab96
catalog: shell: introduce new CatalogPathStack to navigate in catalog shell.

This is basically a rewrite of the current logic for navigating the catalog,
but in addition allows to follow symlinks.
Following symlinks introduces the issue that generation of canonical paths
(needed in the actual pxar archive) is more complex, as symlinks have to be
resolved and loops avoided.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/backup/catalog_shell.rs