archive

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExtractorManager

func NewExtractorManager(extractors map[string]Extractor) *extractorManager

Types

type Extractor

type Extractor interface {
	Extract(ctx context.Context, sourceArchivePath, destinationFolderPath string) error
}

func NewDefaultExtractor added in v0.0.7

func NewDefaultExtractor() Extractor

func NewTarGzExtractor

func NewTarGzExtractor() Extractor

func NewZipExtractor added in v0.0.7

func NewZipExtractor() Extractor

Jump to

Keyboard shortcuts

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