Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUnarchived ¶
Types ¶
type Decompressor ¶
type Decompressor struct {
// contains filtered or unexported fields
}
func (*Decompressor) Unarchive ¶
func (decompressor *Decompressor) Unarchive(fs afero.Fs, body io.Reader, prgOpts *ProgressBarOpts) error
type MockUnarchiver ¶ added in v1.36.0
type MockUnarchiver struct {
Err error
}
func (*MockUnarchiver) Unarchive ¶ added in v1.36.0
func (unarchiver *MockUnarchiver) Unarchive(src *File, dest string, fs afero.Fs, prgOpts *ProgressBarOpts) error
type ProgressBarOpts ¶ added in v1.15.0
type Unarchiver ¶
type UnarchiverImpl ¶ added in v1.36.0
type UnarchiverImpl struct{}
func New ¶ added in v1.20.0
func New() *UnarchiverImpl
func (*UnarchiverImpl) Unarchive ¶ added in v1.36.0
func (unarchiver *UnarchiverImpl) Unarchive(src *File, dest string, fs afero.Fs, prgOpts *ProgressBarOpts) error
Click to show internal directories.
Click to hide internal directories.