fix: prevent destructive overwrite of decompression directories - #1044
fix: prevent destructive overwrite of decompression directories#1044fzlzjerry wants to merge 1 commit into
Conversation
wat, uh, oke, Imma ignore that |
Did you choose that by accident and had an unintended deletion? Do you think the conflict message was confusing and could be improved? |
|
No, I did not lose data myself; I reproduced the behavior reported in #1043. The prompt says |
Closes #1043.
Summary
overwritechoice when a decompression conflict target is a directoryrename,merge, andskipfor directory conflicts while preservingoverwritefor actual file conflictsValidation
cargo test --lockedcargo test --locked --no-default-featurescargo test --locked --no-default-features --features unrar,use_zlib,use_zstd_thincargo clippy --locked --all-targets -- -D warningscargo clippy --locked --no-default-features --all-targets -- -D warningscargo +nightly fmt -- --check