Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TarArchive ¶
type TarArchive struct {
// contains filtered or unexported fields
}
func NewTarArchive ¶
func NewTarArchive(inputReader io.Reader) TarArchive
func (TarArchive) Decompress ¶
func (ta TarArchive) Decompress(destination string) error
func (TarArchive) StripComponents ¶
func (ta TarArchive) StripComponents(components int) TarArchive
type TarGzipArchive ¶
type TarGzipArchive struct {
// contains filtered or unexported fields
}
func NewTarGzipArchive ¶
func NewTarGzipArchive(inputReader io.Reader) TarGzipArchive
func (TarGzipArchive) Decompress ¶
func (gz TarGzipArchive) Decompress(destination string) error
func (TarGzipArchive) StripComponents ¶
func (gz TarGzipArchive) StripComponents(components int) TarGzipArchive
type TarXZArchive ¶
type TarXZArchive struct {
// contains filtered or unexported fields
}
func NewTarXZArchive ¶
func NewTarXZArchive(inputReader io.Reader) TarXZArchive
func (TarXZArchive) Decompress ¶
func (txz TarXZArchive) Decompress(destination string) error
func (TarXZArchive) StripComponents ¶
func (txz TarXZArchive) StripComponents(components int) TarXZArchive
type ZipArchive ¶
type ZipArchive struct {
// contains filtered or unexported fields
}
func NewZipArchive ¶
func NewZipArchive(inputReader io.Reader) ZipArchive
func (ZipArchive) Decompress ¶
func (z ZipArchive) Decompress(destination string) error
Click to show internal directories.
Click to hide internal directories.