Documentation ¶
Overview ¶
Package rpm provides an indexer.PackageScanner for the rpm package manager.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶ added in v1.4.9
type Info struct { Name string Version string Release string SourceNEVR string Module string Arch string Digest string Signature []byte // This is a PGP signature packet. Filenames []string // Filtered by the [filePatterns] regexp. DigestAlgo int Epoch int }
Info is the package information extracted from the RPM header.
type Scanner ¶
type Scanner struct{}
Scanner implements the scanner.PackageScanner interface.
This looks for directories that look like rpm databases and examines the files it finds there.
The zero value is ready to use.
Directories ¶
Path | Synopsis |
---|---|
Package bdb provides support for read-only access to an RPM database using the BerkeleyDB "hash" format.
|
Package bdb provides support for read-only access to an RPM database using the BerkeleyDB "hash" format. |
internal
|
|
rpm
Package rpm contains some internal helpers for working with RPM databases.
|
Package rpm contains some internal helpers for working with RPM databases. |
Package ndb provides support for read-only access to an RPM "ndb" database.
|
Package ndb provides support for read-only access to an RPM "ndb" database. |
Package sqlite extracts RPM package information from SQLite databases.
|
Package sqlite extracts RPM package information from SQLite databases. |
Click to show internal directories.
Click to hide internal directories.