Skip to content

fix new extract logic#996

Open
valoq wants to merge 3 commits into
ouch-org:mainfrom
valoq:flatten
Open

fix new extract logic#996
valoq wants to merge 3 commits into
ouch-org:mainfrom
valoq:flatten

Conversation

@valoq
Copy link
Copy Markdown
Collaborator

@valoq valoq commented May 20, 2026

This PR ensures that extraction always happens inside the new dir that is created before the archive is parsed. This is a requirement for future sandbox implementations and it fixes the behavior that is intended to always produce a directory with the archive name. Previously archives with single files would be flatten and end up with files in the $CWD.

@valoq valoq marked this pull request as ready for review May 20, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant