Treat single files archive as single folder archive basically.
Details
- Reviewers
elvisangelaccio ngraham - Group Reviewers
Ark - Commits
- R36:fe2cccec33e8: With autodetect, extract single files archive in current dir
ctest
Diff Detail
- Repository
- R36 Ark
- Branch
- arcpatch-D23693
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 16457 Build 16475: arc lint + arc unit
Hmm I don't know, this might break some workflows :/
Basically with "autodetect subfolder" you can always assume that a folder will be created and some poeple might rely on this.
What is your motivation for this change?
When you have a single file archive and you extract it using autodetect, it creates a folder with the file in it.
Then you need to open the dir to discover that there is a single file.
A common pattern of mine (and I guess others) has been to discover that there had only one file, and right after cut it to its parent folder and deleting the folder.
A workaround is to open the archive and in case there is one file using "Extract here" and if not "Extract autodetect".
But it is a long process that negates the use of "Extract autodetect" as a short path feature.
It seems to me the change of behavior justifies itself in that it will most likely improve users workflow for single file archives.
Do you have an opinion @ngraham ?
app/main.cpp | ||
---|---|---|
194 ↗ | (On Diff #65304) | I'd write "single file archive" to be more explicit. |