rpm

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Type string = "rpm"

Variables

View Source
var (
	ManifestFiles = []string{"Packages", "Packages.db", "rpmdb.sqlite"}
	RelatedPaths  = []string{"var\\lib\\rpm", "usr\\lib\\rpm", "etc\\rpm"}
)

Functions

func CheckRelatedFiles

func CheckRelatedFiles(file string) (string, bool, bool)

func Scan

func Scan(data interface{}) interface{}

Types

type Metadata added in v1.10.0

type Metadata struct {
	Epoch           *int   `json:"epoch,omitempty"`
	Name            string `json:"name,omitempty"`
	Version         string `json:"version,omitempty"`
	Release         string `json:"release,omitempty"`
	Arch            string `json:"arch,omitempty"`
	SourceRpm       string `json:"sourceRpm,omitempty"`
	Size            int    `json:"size,omitempty"`
	License         string `json:"license,omitempty"`
	Vendor          string `json:"vendor,omitempty"`
	Modularitylabel string `json:"modularitylabel,omitempty"`
	Summary         string `json:"summary,omitempty"`
	PGP             string `json:"pgp,omitempty"`
	SigMD5          string `json:"sigMD5,omitempty"`
	DigestAlgorithm int    `json:"digestAlgorithm,omitempty"`
	InstallTime     int    `json:"installTime,omitempty"`
}

Jump to

Keyboard shortcuts

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