Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unarchiver ¶
type Unarchiver struct {
archives.Extraction
}
func NewTarGz ¶
func NewTarGz() Unarchiver
func NewZip ¶
func NewZip() Unarchiver
func (*Unarchiver) PrepareUnpacking ¶
func (ua *Unarchiver) PrepareUnpacking(source, destination string) (archiveFile *os.File, err error)
PrepareUnpacking prepares the destination directory and the archive for unpacking Returns the opened file
Click to show internal directories.
Click to hide internal directories.