Versions in this module Expand all Collapse all v4 v4.0.1 Oct 3, 2019 Changes in this version + var Bzip2 = internal.NewAlgorithm("bzip2", []byte{ ... }, Bzip2Decompressor, bzip2Compressor) + var Gzip = internal.NewAlgorithm("gzip", []byte{ ... }, GzipDecompressor, gzipCompressor) + var Xz = internal.NewAlgorithm("Xz", []byte{ ... }, XzDecompressor, xzCompressor) + var Zstd = internal.NewAlgorithm("zstd", []byte{ ... }, ZstdDecompressor, zstdCompressor) + func AutoDecompress(stream io.Reader) (io.ReadCloser, bool, error) + func Bzip2Decompressor(r io.Reader) (io.ReadCloser, error) + func CompressStream(dest io.Writer, algo Algorithm, level *int) (io.WriteCloser, error) + func DetectCompressionFormat(input io.Reader) (Algorithm, DecompressorFunc, io.Reader, error) + func GzipDecompressor(r io.Reader) (io.ReadCloser, error) + func XzDecompressor(r io.Reader) (io.ReadCloser, error) + func ZstdDecompressor(r io.Reader) (io.ReadCloser, error) + type Algorithm = types.Algorithm + func AlgorithmByName(name string) (Algorithm, error) + type DecompressorFunc = internal.DecompressorFunc + func DetectCompression(input io.Reader) (DecompressorFunc, io.Reader, error) Other modules containing this package github.com/containers/image github.com/containers/image/v5