Struct rpm::RPMPackage [−][src]
pub struct RPMPackage {
pub metadata: RPMPackageMetadata,
pub content: Vec<u8>,
}
Expand description
A complete rpm file.
Can either be created using the RPMPackageBuilder
or used with parse
to obtain from a file.
Fields
metadata: RPMPackageMetadata
Header and metadata structures.
Contains the constant lead as well as the metadata store.
content: Vec<u8>
The compressed or uncompressed files.
Implementations
sign all headers (except for the lead) using an external key and store it as the initial header