remove

package
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package remove handles the removal of packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(ctx context.Context, pi goolib.PackageInfo, deps DepMap, state *client.GooGetState, dbOnly bool, proxyServer string) error

All removes a package and all dependant packages. Packages with no dependant packages will be removed first.

Types

type DepMap

type DepMap map[string][]string

DepMap is a map of packages to dependant packages.

func EnumerateDeps

func EnumerateDeps(pi goolib.PackageInfo, state client.GooGetState) (DepMap, []string)

EnumerateDeps returns a DepMap and list of dependencies for a package.

Jump to

Keyboard shortcuts

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