ls

package
v0.16.12 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(opts ListOptions) ([]string, error)

List lists packages.

Types

type ListOptions

type ListOptions struct {
	BuildCfgIndices []*configs.Index[config.Configuration]

	// IncludeSubpackages indicates whether subpackages should be included in the results.
	IncludeSubpackages bool

	// RequestedPackages is a list of package names to list. If empty, all packages are listed.
	RequestedPackages []string

	// Template is the Go template string to use when printing results.
	Template string
}

Jump to

Keyboard shortcuts

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