tar

package
v0.0.0-...-b9690c5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdCompressor

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

func NewCmdCompressor

func NewCmdCompressor(
	runner boshsys.CmdRunner,
	fs boshsys.FileSystem,
	logger boshlog.Logger,
) CmdCompressor

func (CmdCompressor) CleanUp

func (c CmdCompressor) CleanUp(path string) error

func (CmdCompressor) Compress

func (c CmdCompressor) Compress(path string) (string, error)

type CmdExtractor

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

func NewCmdExtractor

func NewCmdExtractor(
	runner boshsys.CmdRunner,
	fs boshsys.FileSystem,
	logger boshlog.Logger,
) CmdExtractor

func (CmdExtractor) CleanUp

func (e CmdExtractor) CleanUp(path string) error

func (CmdExtractor) Extract

func (e CmdExtractor) Extract(path string) (string, error)

type Compressor

type Compressor interface {
	Compress(string) (string, error)
	CleanUp(string) error
}

type Extractor

type Extractor interface {
	Extract(string) (string, error)
	CleanUp(string) error
}

Jump to

Keyboard shortcuts

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