Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compress: Factor code used to uncompress a single file
There are currently 2 helpers, one to extract a file from a zip file, and the other to extract from a tar file, but they can be factored into a single helper operating on an io.Reader.
- Loading branch information
1 parent
df44a7e
commit 5b6bc2d
Showing
1 changed file
with
6 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters