Skip to content

Create zip directory structure prior to extractions#885

Closed
egibs wants to merge 1 commit into
chainguard-dev:mainfrom
egibs:zip-directory-structure
Closed

Create zip directory structure prior to extractions#885
egibs wants to merge 1 commit into
chainguard-dev:mainfrom
egibs:zip-directory-structure

Conversation

@egibs
Copy link
Copy Markdown
Member

@egibs egibs commented Apr 25, 2025

We've hit a few race conditions when extracting files and directories with the same names. This PR will build out the directory structure before extracting the files themselves.

I didn't notice much of a performance hit in doing this and I'd rather have the consistency.

Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs closed this Apr 27, 2025
@egibs egibs deleted the zip-directory-structure branch April 27, 2025 23:05
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