zip
zip copied to clipboard
Enable overriding (de)compressors per file
Fixes https://github.com/alexmullins/zip/issues/12
Port of https://github.com/golang/go/commit/46300a058dfb078164f29fa1a86a2dbdad55e503: Implement setting the compression level for a zip archive by registering a per-Writer compressor through Writer.RegisterCompressor. If no compressors are registered, fall back to the ones registered at the package level. Also implements per-Reader decompressors.
@alexmullins please can you take a look at this PR and help get this merged? Thanks!