Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TarCreator ¶
func NewTarCreator ¶
func NewTarCreator(ecc ecc.ExecCmdCreator, logger flog.Logger) TarCreator
type TarExtractor ¶
type TarExtractor interface { ExtractInTemp(reader io.Reader, dirPrefix string) (ecc.ExecCmd, error) CreateExtractCmd(reader io.Reader, destDir string) (ecc.ExecCmd, error) Cleanup(cmd ecc.ExecCmd) ExtractCompressed(tarArchive io.Reader, dest string, options *archive.TarOptions) error }
TarExtractor interface to extract a tar file
func NewTarExtractor ¶
func NewTarExtractor(ecc ecc.ExecCmdCreator, logger flog.Logger) TarExtractor
NewTarExtractor creates a new UncompressedTarExtractor.
Click to show internal directories.
Click to hide internal directories.