Camilo Aguilar
1d3c888a50
Set minimum Go version to 1.18
v1.0.0
2022-10-04 11:54:58 -04:00
Camilo Aguilar
af9d87f400
Fix error reporting for reader
...
since it was never making out of the local scope.
2022-10-04 11:48:52 -04:00
Camilo Aguilar
da7322c1eb
Update README to account for new API
2022-10-04 11:48:22 -04:00
Camilo Aguilar
b3f4c4a933
go mod tidy
2022-10-04 11:44:05 -04:00
Camilo Aguilar
7a3174928a
Simplify API
...
To reduce confusion regarding destination path passed as argument
versus returned, and prevent accidental misuse. The destination
path is now always required.
2022-10-04 11:41:28 -04:00
Camilo Aguilar
d87c6de88d
Add Go modules support
v0.1.0
2021-03-16 14:34:26 -04:00
Camilo Aguilar
4ed373e9ef
Clean up editorconfig file
2017-07-04 14:11:38 -04:00
Camilo Aguilar
5d74667c62
Refactor to simplify and speed up
...
Removes unnecessary code and uses other libraries to
decompress and unarchive faster.
2017-05-18 21:18:57 -04:00
Camilo Aguilar
2ff65ef7c3
Remove Go 1.4 and 1.5 from TravisCI
2017-05-13 18:30:00 -04:00
Camilo Aguilar
85050c0904
Fix #12 by avoiding sanitizing dir names
2017-05-13 18:24:12 -04:00
Camilo Aguilar
50b0b176fc
Update README.md
2017-05-02 08:30:44 -04:00
Camilo Aguilar
cce071265d
Update README.md
2017-04-29 15:37:01 -04:00
Camilo Aguilar
4d5e039956
Do not ignore errors
2017-03-23 11:05:34 -05:00
Camilo Aguilar
529412b88e
Update package docs
2017-03-23 07:28:35 -05:00
Camilo Aguilar
9982c22d1e
Update README to add XZ format support
2017-03-23 07:10:29 -05:00
Camilo Aguilar
195d2d917b
git shortlog -s > AUTHORS
2017-03-23 07:10:11 -05:00
Camilo Aguilar
f30130ae58
Merge pull request #15 from railsmechanic/master
...
Add support for xz format
2017-03-23 07:03:59 -05:00
Camilo Aguilar
49d60fc753
Do not ignore errors when setting file mode and chtimes
2017-03-23 06:59:48 -05:00
Matthias Kalb
ef8420a9dc
Added support for xz format
2017-03-23 12:49:48 +01:00
Camilo Aguilar
a2efbdac5a
Add Go 1.8 to CI configuration
2017-03-18 06:49:28 -05:00
Camilo Aguilar
339618fad7
Merge branch 'master' of https://github.com/c4milo/unzipit
...
* 'master' of https://github.com/c4milo/unzipit :
Fix for 'Too Many Open Files' while unzipping file.
2016-03-15 16:51:15 -04:00
Camilo Aguilar
7d283d41b7
Skips extracting pax_global_header file
2016-03-15 16:51:10 -04:00
Camilo Aguilar
abf7638d61
Merge pull request #14 from davidsiefert/master
...
Fix for 'Too Many Open Files' while unzipping file.
2016-02-12 10:16:33 -05:00
David Siefert
7f60c36c26
Fix for 'Too Many Open Files' while unzipping file.
2016-02-12 07:10:47 -06:00
Camilo Aguilar
c05c3d09bd
Merge pull request #13 from davidsiefert/master
...
Fix for 'Too many open files'
2016-02-11 11:13:10 -05:00
David Siefert
3f6ad5a297
Fix for 'Too many open files'
...
Resource leak while untarring. Files will not get closed until the function
returns (use of defer to close files). Extracted method to clean up the code
a little bit as well as close the open file sooner than later. Test written
first to validate defect before fixing.
2016-02-11 07:35:49 -06:00
Camilo Aguilar
6aa6b5c056
Preserves file mtimes. Closes #10
2015-11-07 11:38:07 -05:00
Camilo Aguilar
a1d81a000f
Preserves file permissions
2015-11-07 11:18:00 -05:00
Camilo Aguilar
cbb7683a71
Reports error back if MkdirAll fails
2015-11-04 15:59:23 -05:00
Camilo Aguilar
d5befea742
Since this is a library, we prefer to log unexpected errors
2015-11-04 15:39:26 -05:00
Camilo Aguilar
06e4595e43
Do not ignore errors closing files
2015-11-04 15:34:24 -05:00
Camilo Aguilar
5979c61624
Zip file is already being closed
2015-11-04 15:24:34 -05:00
Camilo Aguilar
ba15397b1a
Merge branch 'master' of https://github.com/c4milo/unzipit
...
* 'master' of https://github.com/c4milo/unzipit :
Update README.md
Update README.md
2015-11-04 15:20:42 -05:00
Camilo Aguilar
4414ae59d2
Cleans up code a little bit
2015-11-04 15:20:34 -05:00
Camilo Aguilar
10d6ecfe4e
Update README.md
2015-10-21 22:29:41 -05:00
Camilo Aguilar
d7281c2166
Update README.md
2015-10-21 22:29:23 -05:00
Camilo Aguilar
d14bc41351
Adds CI for Go 1.5
2015-08-20 22:17:13 -04:00
Camilo Aguilar
92d469f4ce
Removes unnecessary buffer, spotted by @bradfitz
2015-01-09 18:43:39 -05:00
Camilo Aguilar
d1190f45da
Asks TravisCI to also compile using Go 1.4
2014-12-11 01:19:38 -05:00
Camilo Aguilar
1426d84710
Fixes indentation and stringifies path separator outside the for loop
2014-11-19 17:09:08 -05:00
Camilo Aguilar
e61a3af39c
Merge branch 'acierto-master'
2014-11-19 16:55:17 -05:00
Camilo Aguilar
1fd5c2fa04
Merge branch 'master' of https://github.com/acierto/unzipit into acierto-master
2014-11-19 16:50:02 -05:00
bogdannechyporenko
cc914c2339
Fixed the unzipping of folders containing folders inside.
...
Test is added for this case
2014-11-19 22:16:23 +01:00
Camilo Aguilar
84b2af8332
Fixes minor issue introduced in previous commit
2014-11-19 12:04:13 -05:00
Camilo Aguilar
3b033cb6fe
Golint fixes
2014-11-19 12:00:59 -05:00
Camilo Aguilar
a2f3964df2
Generates authors file using git shortlog -sn > AUTHORS
2014-11-09 15:13:31 -05:00
Camilo Aguilar
72c019220f
Merge pull request #7 from alexandre-normand/streaming-unpacking
...
Add Support for Unpacking from Streams.
2014-11-09 15:04:57 -05:00
Alexandre Normand
fbd3af6890
Add Support for Unpacking from Streams.
2014-11-08 22:26:29 -08:00
Camilo Aguilar
de49c8dfde
Merge pull request #8 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2014-11-08 22:25:47 -05:00
The Gitter Badger
cb7b1511df
Added Gitter badge
2014-11-09 03:15:16 +00:00