Version: v11.1.0 Latest Latest

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

Go to latest
Published: Jan 2, 2022 License: GPL-3.0 Imports: 10 Imported by: 0




This section is empty.


This section is empty.


func GetVersionDiff

func GetVersionDiff(oldVersion, newVersion string) (left, right string)

func StylizedNameWithRepository

func StylizedNameWithRepository(u Upgrade) string


type Filter

type Filter func(Upgrade) bool

Filter decides if specific package should be included in theincluded in the results.

type UpSlice

type UpSlice struct {
	Up    []Upgrade
	Repos []string

upSlice is a slice of Upgrades.

func UpAUR

func UpAUR(remote []db.IPackage, aurdata map[string]*query.Pkg, timeUpdate bool) UpSlice

UpAUR gathers foreign packages and checks if they have new versions. Output: Upgrade type package list.

func UpDevel

func UpDevel(
	ctx context.Context,
	remote []db.IPackage,
	aurdata map[string]*query.Pkg,
	localCache *vcs.InfoStore) UpSlice

func (UpSlice) Len

func (u UpSlice) Len() int

func (UpSlice) Less

func (u UpSlice) Less(i, j int) bool

func (UpSlice) Print

func (u UpSlice) Print()

Print prints the details of the packages to upgrade.

func (UpSlice) Swap

func (u UpSlice) Swap(i, j int)

type Upgrade

type Upgrade = db.Upgrade

Upgrade type describes a system upgrade.

Jump to

Keyboard shortcuts

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