uninstall

package
v3.0.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MajorMinorPatchRegexp = `^[0-9]+\.[0-9]+\.[0-9]+`
)

Variables

This section is empty.

Functions

func GetList

func GetList(scope binary.Scope, program string) []string

GetList generates version completions from exactly the selected scope.

func UninstallProgram

func UninstallProgram(uninstallCtx UninstallCtx) error

UninstallProgram removes one installation within the selected scope.

Types

type UninstallCtx

type UninstallCtx struct {
	binary.BinaryContext

	Version string
}

UninstallCtx contains the options for removing an installed program.

Jump to

Keyboard shortcuts

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