archive

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: Artistic-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryExtractor

type BinaryExtractor struct {
	TempDir string
}

BinaryExtractor handles extraction of executable binaries from archives

func NewBinaryExtractor

func NewBinaryExtractor() *BinaryExtractor

NewBinaryExtractor creates a new binary extractor

func (*BinaryExtractor) Cleanup

func (e *BinaryExtractor) Cleanup(extractedPath string) error

Cleanup removes the temporary extraction directory

func (*BinaryExtractor) ExtractExecutable

func (e *BinaryExtractor) ExtractExecutable(archivePath, platform string) (string, error)

ExtractExecutable extracts the main executable from an archive

Jump to

Keyboard shortcuts

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