mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-11 11:50:00 +00:00
packages file: add section field
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
008a771f3e
commit
ab6c2c7493
@ -57,6 +57,7 @@ pub struct PackageEntry {
|
||||
pub size: usize,
|
||||
pub installed_size: Option<usize>,
|
||||
pub checksums: CheckSums,
|
||||
pub section: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, PartialEq, Eq)]
|
||||
@ -83,6 +84,7 @@ impl TryFrom<PackagesFileRaw> for PackageEntry {
|
||||
size: value.size.parse::<usize>()?,
|
||||
installed_size,
|
||||
checksums: CheckSums::default(),
|
||||
section: value.section,
|
||||
};
|
||||
|
||||
if let Some(md5) = value.md5_sum {
|
||||
|
Loading…
Reference in New Issue
Block a user