query

package
v10.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AURInfo

func AURInfo(names []string, warnings *AURWarnings, splitN int) ([]*rpc.Pkg, error)

Queries the aur for information about specified packages. All packages should be queried in a single rpc request except when the number of packages exceeds the number set in config.RequestSplitN. If the number does exceed config.RequestSplitN multiple rpc requests will be performed concurrently.

func AURInfoPrint

func AURInfoPrint(names []string, splitN int) ([]*rpc.Pkg, error)

func FilterPackages

func FilterPackages(alpmHandle *alpm.Handle) (
	local, remote []alpm.Package,
	localNames, remoteNames []string,
	err error)

FilterPackages filters packages based on source and type from local repository.

func RemoveInvalidTargets

func RemoveInvalidTargets(targets []string, mode settings.TargetMode) []string

Types

type AURWarnings

type AURWarnings struct {
	Orphans   []string
	OutOfDate []string
	Missing   []string
	Ignore    stringset.StringSet
}

func NewWarnings

func NewWarnings() *AURWarnings

func (*AURWarnings) Print

func (warnings *AURWarnings) Print()

Jump to

Keyboard shortcuts

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