Documentation
¶
Index ¶
- func ExtractTar(ctx context.Context, s *sys.System, body io.Reader, target string, ...) error
- func ExtractTarBz2(ctx context.Context, s *sys.System, body io.Reader, target string, ...) error
- func ExtractTarGz(ctx context.Context, s *sys.System, body io.Reader, target string, ...) error
- func ExtractTarball(ctx context.Context, s *sys.System, tarball string, target string, ...) error
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractTar ¶
func ExtractTar(ctx context.Context, s *sys.System, body io.Reader, target string, filters ...Filter) error
ExtractTar extracts a .tar archived stream of data to the given target
func ExtractTarBz2 ¶
func ExtractTarBz2(ctx context.Context, s *sys.System, body io.Reader, target string, filters ...Filter) error
ExtractTarBz2 extracts a ..tar.bz2 archived stream of data to the given target
Types ¶
Click to show internal directories.
Click to hide internal directories.