ialpm

package
v12.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlpmExecutor

type AlpmExecutor struct {
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(pacmanConf *pacmanconf.Config, logger *text.Logger) (*AlpmExecutor, error)

func (*AlpmExecutor) AlpmArchitectures

func (ae *AlpmExecutor) AlpmArchitectures() ([]string, error)

func (*AlpmExecutor) BiggestPackages

func (ae *AlpmExecutor) BiggestPackages() []alpm.IPackage

func (*AlpmExecutor) Cleanup

func (ae *AlpmExecutor) Cleanup()

func (*AlpmExecutor) InstalledRemotePackageNames

func (ae *AlpmExecutor) InstalledRemotePackageNames() []string

func (*AlpmExecutor) InstalledRemotePackages

func (ae *AlpmExecutor) InstalledRemotePackages() map[string]alpm.IPackage

func (*AlpmExecutor) InstalledSyncPackageNames

func (ae *AlpmExecutor) InstalledSyncPackageNames() []string

func (*AlpmExecutor) IsCorrectVersionInstalled

func (ae *AlpmExecutor) IsCorrectVersionInstalled(pkgName, versionRequired string) bool

func (*AlpmExecutor) LastBuildTime

func (ae *AlpmExecutor) LastBuildTime() time.Time

func (*AlpmExecutor) LocalPackage

func (ae *AlpmExecutor) LocalPackage(pkgName string) alpm.IPackage

func (*AlpmExecutor) LocalPackages

func (ae *AlpmExecutor) LocalPackages() []alpm.IPackage

func (*AlpmExecutor) LocalSatisfierExists

func (ae *AlpmExecutor) LocalSatisfierExists(pkgName string) bool

func (*AlpmExecutor) PackageDepends

func (ae *AlpmExecutor) PackageDepends(pkg alpm.IPackage) []alpm.Depend

func (*AlpmExecutor) PackageGroups

func (ae *AlpmExecutor) PackageGroups(pkg alpm.IPackage) []string

func (*AlpmExecutor) PackageOptionalDepends

func (ae *AlpmExecutor) PackageOptionalDepends(pkg alpm.IPackage) []alpm.Depend

func (*AlpmExecutor) PackageProvides

func (ae *AlpmExecutor) PackageProvides(pkg alpm.IPackage) []alpm.Depend

func (*AlpmExecutor) PackagesFromGroup

func (ae *AlpmExecutor) PackagesFromGroup(groupName string) []alpm.IPackage

func (*AlpmExecutor) PackagesFromGroupAndDB added in v12.1.1

func (ae *AlpmExecutor) PackagesFromGroupAndDB(groupName, dbName string) ([]alpm.IPackage, error)

func (*AlpmExecutor) RefreshHandle

func (ae *AlpmExecutor) RefreshHandle() error

func (*AlpmExecutor) Repos

func (ae *AlpmExecutor) Repos() (repos []string)

func (*AlpmExecutor) SatisfierFromDB

func (ae *AlpmExecutor) SatisfierFromDB(pkgName, dbName string) (alpm.IPackage, error)

func (*AlpmExecutor) SetLogger added in v12.0.2

func (ae *AlpmExecutor) SetLogger(logger *text.Logger)

func (*AlpmExecutor) SyncPackage

func (ae *AlpmExecutor) SyncPackage(pkgName string) alpm.IPackage

func (*AlpmExecutor) SyncPackageFromDB added in v12.1.1

func (ae *AlpmExecutor) SyncPackageFromDB(pkgName, dbName string) alpm.IPackage

func (*AlpmExecutor) SyncPackages

func (ae *AlpmExecutor) SyncPackages(pkgNames ...string) []alpm.IPackage

SyncPackages searches SyncDB for packages or returns all packages if no search param is given.

func (*AlpmExecutor) SyncSatisfier

func (ae *AlpmExecutor) SyncSatisfier(pkgName string) alpm.IPackage

func (*AlpmExecutor) SyncSatisfierExists

func (ae *AlpmExecutor) SyncSatisfierExists(pkgName string) bool

func (*AlpmExecutor) SyncUpgrades

func (ae *AlpmExecutor) SyncUpgrades(enableDowngrade bool) (
	map[string]db.SyncUpgrade, error,
)

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

Jump to

Keyboard shortcuts

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