Versions in this module Expand all Collapse all v1 v1.0.1 Sep 23, 2023 Changes in this version + var ErrNotSupported = errors.New("not supported") + var Registrations []Registration + type Bzip2Decoder struct + func (d *Bzip2Decoder) Next() (*Entry, error) + func (d *Bzip2Decoder) Read(p []byte) (int, error) + type Decoder interface + Next func() (*Entry, error) + Read func(p []byte) (int, error) + func GetBzip2Decoder(filename string, reader *bufio.Reader) (Decoder, error) + func GetDecoder(filename string, reader *bufio.Reader) (Decoder, error) + func GetGzDecoder(filename string, reader *bufio.Reader) (Decoder, error) + func GetTarDecoder(_ string, reader *bufio.Reader) (Decoder, error) + func GetZipDecoder(_ string, reader *bufio.Reader) (Decoder, error) + type Entry struct + Filename string + Type string + func (e Entry) IsDir() bool + func (e Entry) IsFile() bool + type Getter func(filename string, reader *bufio.Reader) (Decoder, error) + type GzDecoder struct + func (d *GzDecoder) Next() (*Entry, error) + func (d *GzDecoder) Read(p []byte) (int, error) + type Registration struct + GetDecoder Getter + MatchFileHeader func(string, []byte) bool + type TarDecoder struct + func (d *TarDecoder) Next() (*Entry, error) + func (d *TarDecoder) Read(p []byte) (int, error) + type ZipDecoder struct + func (d *ZipDecoder) Next() (_ *Entry, err error) + func (d *ZipDecoder) Read(p []byte) (_ int, err error) v1.0.0 Sep 23, 2023