libalpm

package
v0.0.0-...-93a3304 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListGroups

func ListGroups() []string

func ListPackagesAsString

func ListPackagesAsString(field PackageField) ([]string, error)

func PackageInstalled

func PackageInstalled(packageName string) bool

Types

type Package

type Package struct {
	Repository string `json:",omitempty"`
	Name       string
	Version    string
}

func ListInstalled

func ListInstalled() (pkgs []Package, err error)

func ListPackages

func ListPackages() ([]Package, error)

type PackageField

type PackageField int
const (
	PackageRepository PackageField = iota
	PackageName
	PackageVersion
)

Jump to

Keyboard shortcuts

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