Versions in this module Expand all Collapse all v0 v0.1.1 May 23, 2024 v0.1.0 Dec 6, 2023 Changes in this version + const HEADER_I18NTABLE + const PGPHASHALGO_HAVAL_5_160 + const PGPHASHALGO_MD2 + const PGPHASHALGO_MD5 + const PGPHASHALGO_RIPEMD160 + const PGPHASHALGO_SHA1 + const PGPHASHALGO_SHA224 + const PGPHASHALGO_SHA256 + const PGPHASHALGO_SHA384 + const PGPHASHALGO_SHA512 + const PGPHASHALGO_TIGER192 + const REGION_TAG_COUNT + const REGION_TAG_TYPE + const RPMFILE_ARTIFACT + const RPMFILE_CONFIG + const RPMFILE_DOC + const RPMFILE_GHOST + const RPMFILE_ICON + const RPMFILE_LICENSE + const RPMFILE_MISSINGOK + const RPMFILE_NOREPLACE + const RPMFILE_PUBKEY + const RPMFILE_README + const RPMFILE_SPECFILE + const RPMTAG_ARCH + const RPMTAG_BASENAMES + const RPMTAG_DIRINDEXES + const RPMTAG_DIRNAMES + const RPMTAG_EPOCH + const RPMTAG_FILEDIGESTALGO + const RPMTAG_FILEDIGESTS + const RPMTAG_FILEFLAGS + const RPMTAG_FILEGROUPNAME + const RPMTAG_FILEMODES + const RPMTAG_FILESIZES + const RPMTAG_FILEUSERNAME + const RPMTAG_HEADERI18NTABLE + const RPMTAG_HEADERIMAGE + const RPMTAG_HEADERIMMUTABLE + const RPMTAG_HEADERSIGNATURES + const RPMTAG_INSTALLTIME + const RPMTAG_LICENSE + const RPMTAG_MODULARITYLABEL + const RPMTAG_NAME + const RPMTAG_PGP + const RPMTAG_PROVIDENAME + const RPMTAG_RELEASE + const RPMTAG_REQUIRENAME + const RPMTAG_SIGMD5 + const RPMTAG_SIZE + const RPMTAG_SOURCERPM + const RPMTAG_SUMMARY + const RPMTAG_VENDOR + const RPMTAG_VERSION + const RPM_BIN_TYPE + const RPM_CHAR_TYPE + const RPM_I18NSTRING_TYPE + const RPM_INT16_TYPE + const RPM_INT32_TYPE + const RPM_INT64_TYPE + const RPM_INT8_TYPE + const RPM_MAX_TYPE + const RPM_MIN_TYPE + const RPM_NULL_TYPE + const RPM_STRING_ARRAY_TYPE + const RPM_STRING_TYPE + func Htonl(val int32) int32 + func HtonlU(val uint32) uint32 + type DigestAlgorithm int32 + func (d DigestAlgorithm) String() string + type FileFlags int32 + func (flags FileFlags) String() (result string) + type FileInfo struct + Digest string + Flags FileFlags + Groupname string + Mode uint16 + Path string + Size int32 + Username string + type PackageInfo struct + Arch string + BaseNames []string + DigestAlgorithm DigestAlgorithm + DirIndexes []int32 + DirNames []string + Epoch *int + FileDigests []string + FileFlags []int32 + FileModes []uint16 + FileSizes []int32 + GroupNames []string + InstallTime int + License string + Modularitylabel string + Name string + PGP string + Provides []string + Release string + Requires []string + SigMD5 string + Size int + SourceRpm string + Summary string + UserNames []string + Vendor string + Version string + func (p *PackageInfo) EpochNum() int + func (p *PackageInfo) InstalledFileNames() ([]string, error) + func (p *PackageInfo) InstalledFiles() ([]FileInfo, error) + type RpmDB struct + func Open(path string) (*RpmDB, error) + func (d *RpmDB) Close() error + func (d *RpmDB) ListPackages() ([]*PackageInfo, error) + func (d *RpmDB) Package(name string) (*PackageInfo, error)