tar

package
v0.0.0-...-eed3b00 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchExtension

func MatchExtension(name string) int

MatchExtension todo

func Matched

func Matched(buf []byte) bool

Matched todo

Types

type BrewingExtractor

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

BrewingExtractor todo

func NewBrewingExtractor

func NewBrewingExtractor(fd *os.File, es *foundation.ExtractOptions, alg int) (*BrewingExtractor, error)

NewBrewingExtractor todo

func (*BrewingExtractor) Close

func (e *BrewingExtractor) Close() error

Close fd

func (*BrewingExtractor) Extract

func (e *BrewingExtractor) Extract(destination string) error

Extract file

type Extractor

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

Extractor type

func NewExtractor

func NewExtractor(fd *os.File, es *foundation.ExtractOptions) (*Extractor, error)

NewExtractor new tar extractor

func (*Extractor) Close

func (e *Extractor) Close() error

Close fd

func (*Extractor) Extract

func (e *Extractor) Extract(destination string) error

Extract file

Jump to

Keyboard shortcuts

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