Expand description
Extracting over files that are already in the output folder.
A resumed run deletes whatever sits at the paths of its uncommitted
entries, which is only safe because the run put it there. So before an
extraction that replaces files extracts anything, it moves every file at
the path of an entry into FOLDER inside the output, keeping its path.
A rename on the same filesystem takes no space and leaves the file whole,
so a restore can put it back. Only a completed extraction deletes them.
The journal records replace before the first rename, and moved only
once every rename is flushed. Until then nothing is extracted, so a
resume deletes nothing at those paths and finishes the moves first.
Structs§
- Choices
- What happens to each existing file an extraction finds at the path of an entry. Every one not listed is replaced.
Constants§
- FOLDER
- Where replaced files wait inside the output folder until the extraction completes. An archive with an entry of this name at its root can’t replace files, or that entry would be extracted among them.