Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

return zip.Reader in FileSystem if file is a zip file #349

Merged
merged 2 commits into from
Sep 10, 2022

Conversation

WeidiDeng
Copy link
Contributor

No description provided.

Copy link
Owner

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Thank you for this optimization!

fs.go Outdated Show resolved Hide resolved
@@ -13,6 +12,7 @@ import (
"strings"

"github.com/dsnet/compress/bzip2"
"github.com/klauspost/compress/zip"
Copy link
Owner

Choose a reason for hiding this comment

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

Aha, thanks!

@mholt mholt merged commit be18265 into mholt:master Sep 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants