This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: Leave decompressor open until archive close (fix #365)
I don't like this solution, but it's all I could think of while preserving the API. Anyone using CompressedArchive to Extract files without using archiver.FS will need to figure it out on their own if they don't close files before the call to Extract returns.
- Loading branch information
Showing
7 changed files
with
138 additions
and
69 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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,28 @@ | ||
module github.com/mholt/archiver/v4 | ||
|
||
go 1.18 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/andybalholm/brotli v1.0.4 | ||
github.com/andybalholm/brotli v1.0.5 | ||
github.com/dsnet/compress v0.0.1 | ||
github.com/klauspost/compress v1.15.9 | ||
github.com/klauspost/pgzip v1.2.5 | ||
github.com/klauspost/compress v1.16.7 | ||
github.com/klauspost/pgzip v1.2.6 | ||
github.com/nwaples/rardecode/v2 v2.0.0-beta.2 | ||
github.com/therootcompany/xz v1.0.1 | ||
github.com/ulikunitz/xz v0.5.10 | ||
github.com/ulikunitz/xz v0.5.11 | ||
) | ||
|
||
require ( | ||
github.com/bodgit/sevenzip v1.3.0 | ||
github.com/bodgit/sevenzip v1.4.3 | ||
github.com/golang/snappy v0.0.4 | ||
github.com/pierrec/lz4/v4 v4.1.15 | ||
golang.org/x/text v0.3.8 | ||
github.com/pierrec/lz4/v4 v4.1.18 | ||
golang.org/x/text v0.13.0 | ||
) | ||
|
||
require ( | ||
github.com/bodgit/plumbing v1.2.0 // indirect | ||
github.com/bodgit/windows v1.0.0 // indirect | ||
github.com/connesc/cipherio v0.2.1 // indirect | ||
github.com/hashicorp/errwrap v1.0.0 // indirect | ||
github.com/bodgit/plumbing v1.3.0 // indirect | ||
github.com/bodgit/windows v1.0.1 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
go4.org v0.0.0-20200411211856-f5505b9728dd // indirect | ||
go4.org v0.0.0-20230225012048-214862532bf5 // indirect | ||
) |
Oops, something went wrong.