asprof

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArchiveFormatTarGz = iota
	ArchiveFormatZip
)

Variables

View Source
var EmbeddedArchive = Archive{/* contains filtered or unexported fields */}

Functions

func ProcessPath

func ProcessPath(path string, pid int) string

Types

type Archive

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

func (*Archive) DistName added in v1.12.0

func (a *Archive) DistName() string

type Distribution

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

func ExtractDistribution added in v1.12.0

func ExtractDistribution(a Archive, tmpDir, distName string) (Distribution, error)

func NewExtractedDistribution added in v1.12.0

func NewExtractedDistribution(extractedDir string) (Distribution, error)

func (Distribution) CopyLib added in v1.12.0

func (d Distribution) CopyLib(pid int) error

func (Distribution) Execute added in v1.12.0

func (d Distribution) Execute(argv []string) (string, string, error)

func (Distribution) LauncherPath

func (d Distribution) LauncherPath() string

func (Distribution) LibPath

func (d Distribution) LibPath() string

Jump to

Keyboard shortcuts

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