proxmox-backup/src/pxar
Christian Ebner beffac999f src/pxar/sequentail_decoder.rs: fix issue when restoring with glob pattern.
Partial extraction of an archive with a glob pattern, e.g. '**/*.conf' lead to
the unexpected behaviour of restoring all partially matched directories (in this
example all of them).

This patch fixes this unexpected behaviour by only restoring those directories
were the directory or one of its sub-items fully matched the pattern and should
therefore be restored.

To achive this behavoiur, directory metadata is pushed onto a stack and restored
on demand.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-08-02 07:49:47 +02:00
..
binary_search_tree.rs src/pxar/binary_search_tree.rs: fix test 2019-03-15 11:34:31 +01:00
decoder.rs pxar: Adapt SequentialDecoder::restore() calls to pass empty match pattern for full restore 2019-07-17 12:19:31 +02:00
dir_buffer.rs pxar: add PxarDir and PxarDirBuf to buffer directory metadata 2019-08-02 07:45:12 +02:00
encoder.rs pxar: add support for storing/restoring the quota project id on ZFS 2019-07-30 09:40:48 +02:00
exclude_pattern.rs src/pxar/exclude_pattern.rs: add Clone and Copy trait to MatchType 2019-08-02 07:49:47 +02:00
format_definition.rs src/pxar/format_definition.rs - PxarAttributes: derive Default 2019-08-02 07:16:10 +02:00
helper.rs src/pxar/encoder.rs: Refactor file stat 2019-05-28 06:23:49 +02:00
sequential_decoder.rs src/pxar/sequentail_decoder.rs: fix issue when restoring with glob pattern. 2019-08-02 07:49:47 +02:00