Documentation
¶
Overview ¶
Package ndb provides support for read-only access to an RPM "ndb" database.
The support for ndb's native indexes is probably unneeded, but is implemented for completeness.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PackageDB ¶
type PackageDB struct {
// contains filtered or unexported fields
}
PackageDB is the "pkgdb" a.k.a. "Packages.db", the raw package data.
func (*PackageDB) GetHeader ¶
GetHeader returns an io.ReaderAt populated with [rpm.Header] data or reports an error.
func (*PackageDB) Parse ¶
Parse closes over the provided io.ReaderAt and populates the provided PackageDB.
func (*PackageDB) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler for a PackageDB header.
Click to show internal directories.
Click to hide internal directories.