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
Click to show internal directories.
Click to hide internal directories.