Documentation ¶
Index ¶
- func DownloadAndExtractPackage(ctx context.Context, releaseDir, packageURL string) error
- func GetPackageURLByCurrentArch(release codegen.Release, mirror string) (string, error)
- func GetReleaseFrom(releaseURL string) (*codegen.Release, error)
- func InstallRelease(ctx context.Context, releaseDir string, sysrootPath string) error
- func NewDecompressor(filepath string) getter.Decompressor
- func NewTracker(callback func(downladed, totalSize int64)) getter.ProgressTracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallRelease ¶
func NewDecompressor ¶
func NewDecompressor(filepath string) getter.Decompressor
func NewTracker ¶
func NewTracker(callback func(downladed, totalSize int64)) getter.ProgressTracker
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.