Documentation ¶
Overview ¶
Package sqlite extracts RPM package information from SQLite databases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
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. DigestAlgo int Epoch int }
Info is the package information extracted from the RPM header.
type RPMDB ¶
type RPMDB struct {
// contains filtered or unexported fields
}
RPMDB is a handle to a SQLite RPM database.
func Open ¶
Open opens the named SQLite database and interprets it as an RPM database.
Must be a file on-disk. This is a limitation of the underlying SQLite library.
The returned RPMDB struct must have its Close method called, or the process may panic.
Click to show internal directories.
Click to hide internal directories.