Documentation
¶
Index ¶
- func AURInfo(names []string, warnings *AURWarnings, splitN int) ([]*rpc.Pkg, error)
- func AURInfoPrint(names []string, splitN int) ([]*rpc.Pkg, error)
- func FilterPackages(alpmHandle *alpm.Handle) (local, remote []alpm.Package, localNames, remoteNames []string, err error)
- func RemoveInvalidTargets(targets []string, mode settings.TargetMode) []string
- type AURWarnings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AURInfo ¶
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 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()
Click to show internal directories.
Click to hide internal directories.