rpm

package
v0.0.0-...-dd861b2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackageList

func GetPackageList(ctx context.Context, basePath string) ([]*rpmdb.PackageInfo, error)

GetPackageList returns the list of packages in the rpm database from either /var/lib/rpm/rpmdb.sqlite, or /var/lib/rpm/Packages if the former does not exist. If neither exists, this returns an error of type os.ErrNotExists

Types

This section is empty.

Jump to

Keyboard shortcuts

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