tarpit

package
v2.9.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TarClient

type TarClient struct {
	TarCommand string
}

func NewGnuTarClient

func NewGnuTarClient() *TarClient

func NewOSXTarClient

func NewOSXTarClient() *TarClient

func NewSystemTarClient

func NewSystemTarClient() *TarClient

func NewTarClient

func NewTarClient(tarCommand string) *TarClient

func (TarClient) Tar

func (this TarClient) Tar(inputDir string) *exec.Cmd

func (TarClient) Untar

func (this TarClient) Untar(tarfileName, outputDir string) *exec.Cmd

type UntarStreamer

type UntarStreamer struct {
	// contains filtered or unexported fields
}

func NewUntarStreamer

func NewUntarStreamer(destinationDir string) UntarStreamer

func (UntarStreamer) WriteStream

func (us UntarStreamer) WriteStream(reader io.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL