Versions in this module Expand all Collapse all v0 v0.0.4 Jun 27, 2021 Changes in this version + func GetKindByExt(fn string) (archive Kind, compress Kind, err error) + type Decoder struct + func New() *Decoder + func Read(r io.Reader, path string) *Decoder + func Source(path string) *Decoder + func (d *Decoder) Archive(kind Kind) *Decoder + func (d *Decoder) Compress(kind Kind) *Decoder + func (d *Decoder) DeCompress(r io.Reader) (dr io.ReadCloser, err error) + func (d *Decoder) DirectKind(name string) *Decoder + func (d *Decoder) Extract() (err error) + func (d *Decoder) GZ() *Decoder + func (d *Decoder) Read(r io.Reader) *Decoder + func (d *Decoder) SNZ() *Decoder + func (d *Decoder) SaveTo(saveTo string) *Decoder + func (d *Decoder) Source(path string) *Decoder + func (d *Decoder) Tar() *Decoder + func (d *Decoder) TrimRootPath(yes ...bool) *Decoder + func (d *Decoder) Verbose(yes ...bool) *Decoder + func (d *Decoder) WriteTo() func(r io.Reader) error + func (d *Decoder) XZ() *Decoder + func (d *Decoder) ZST() *Decoder + func (d *Decoder) Zip() *Decoder + type Kind string + const GZ + const SNZ + const TAR + const XZ + const ZIP + const ZST