Documentation
¶
Overview ¶
Package decompress provides zip, tar, gzip and webarchive decompression/unpacking
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Arcpath ¶
per https://github.com/richardlehane/siegfried/issues/81 construct paths for compressed objects acc. to KDE hash notation
Types ¶
type Decompressor ¶
type Decompressor interface { Next() error // when finished, should return io.EOF Reader() io.Reader Path() string MIME() string Size() int64 Mod() time.Time Dirs() []string }
func New ¶
func New(arc config.Archive, buf *siegreader.Buffer, path string, sz int64) (Decompressor, error)
Click to show internal directories.
Click to hide internal directories.