]> Cypherpunks repositories - gostls13.git/commit
compress/gzip, compress/zlib: add HuffmanOnly as compression levels.
authorKlaus Post <klauspost@gmail.com>
Sun, 16 Oct 2016 20:18:01 +0000 (22:18 +0200)
committerNigel Tao <nigeltao@golang.org>
Thu, 20 Oct 2016 23:11:05 +0000 (23:11 +0000)
commitc9517b1ffe7c99a3fd2a748fab51645bd674ad75
treed6878dbbc55f6753d671e800c701744fbbf913cd
parent7ea58297171ef9ba2680abd5e2490d48c1c9f24c
compress/gzip, compress/zlib: add HuffmanOnly as compression levels.

This exposes HuffmanOnly in zlib and gzip packages, which is currently
unavailable.

Change-Id: If5d103bbc8b5fce2f5d740fd103a235c5d1ed7cd
Reviewed-on: https://go-review.googlesource.com/31186
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/compress/gzip/gzip.go
src/compress/zlib/writer.go
src/compress/zlib/writer_test.go