Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UpSlice ¶
upSlice is a slice of Upgrades.
func UpAUR ¶
func UpAUR(log *text.Logger, remote map[string]db.IPackage, aurdata map[string]*query.Pkg, timeUpdate, enableDowngrade bool, ) UpSlice
UpAUR gathers foreign packages and checks if they have new versions. Output: Upgrade type package list.
type UpgradeService ¶
type UpgradeService struct { AURWarnings *query.AURWarnings // contains filtered or unexported fields }
func NewUpgradeService ¶
func NewUpgradeService(grapher *dep.Grapher, aurCache aur.QueryClient, dbExecutor db.Executor, vcsStore vcs.Store, cfg *settings.Configuration, noConfirm bool, logger *text.Logger, ) *UpgradeService
func (*UpgradeService) GraphUpgrades ¶
func (*UpgradeService) UserExcludeUpgrades ¶
func (u *UpgradeService) UserExcludeUpgrades(graph *topo.Graph[string, *dep.InstallInfo]) ([]string, error)
userExcludeUpgrades asks the user which packages to exclude from the upgrade and removes them from the graph
Click to show internal directories.
Click to hide internal directories.