Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create file headers with modified time set to now in zip archive #221

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

thbkrkr
Copy link
Contributor

@thbkrkr thbkrkr commented Feb 27, 2024

This adds a Create method to the ZipFile struct, which overrides https://pkg.go.dev/archive/zip#Writer.Create in order to set the file's modification time to now.

Resolves #220.

@thbkrkr thbkrkr added the enhancement New feature or request label Feb 27, 2024
Copy link
Collaborator

@pebrc pebrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and tested it.

@thbkrkr thbkrkr merged commit 7c618f4 into main Feb 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lastModifiedDate of files in ECK diagnostics bundle Nov 30 1979
2 participants