]> git.proxmox.com Git - proxmox-backup.git/commit
pxar: add PxarDir and PxarDirBuf to buffer directory metadata
authorChristian Ebner <c.ebner@proxmox.com>
Thu, 1 Aug 2019 14:23:46 +0000 (16:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 2 Aug 2019 05:45:12 +0000 (07:45 +0200)
commit6a584cfd764864bc81809fe37afa65d63c1e01a9
treef8b6c8b30547bebdbd36450755476f5c56e63b22
parent27e6e180b6ca873966e97f3c36f9b9adfa8511a2
pxar: add PxarDir and PxarDirBuf to buffer directory metadata

In order to restore only directories when some of their content fully matched
a match pattern on partial restores, these directories and their metadata are
pushed onto this buffer and only restored successivley on demand.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/pxar.rs
src/pxar/dir_buffer.rs [new file with mode: 0644]