diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-04-13 17:28:11 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2022-04-21 14:24:31 +0000 |
commit | e3eef62c1bb7731c8cea64579c39739bd7b27b70 (patch) | |
tree | 7738b8c79b79d011feffc940bb4e956451c0035a /.qt-license-check.optional | |
parent | 99db65c70ab7cdc458e197440af8251cd48c8e89 (diff) |
Fix rollback of extract when archive lists file entries first
At least with the 7z format packaged with a recent archivegen version,
the directory entries from archives get processed last when extracting.
We remember the path of each extracted entry in the order the writing
happens, to be able to undo the extract later.
The directories need to be empty for the removing to succeed, so we
cannot rely that the entry order from extraction is correct. Ensure
files are removed before directories and that the directories are
removed in an order starting from the deepest subdirectory level.
Task-number: QTIFW-2594
Change-Id: I8a914c4bf69147b845b12f0481c49c93408b51fd
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to '.qt-license-check.optional')
0 files changed, 0 insertions, 0 deletions