feat: start on install section

This commit is contained in:
Strix 2023-10-14 22:39:43 +02:00
parent 092c616ca4
commit 4ecc1eb1e8
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
4 changed files with 68 additions and 26 deletions

View file

@ -8,6 +8,10 @@ impl PKGFile {
pub fn new(manifest: String, data: Vec<u8>) -> PKGFile {
PKGFile { manifest, data }
}
pub fn has_data(&self) -> bool {
!self.data.is_empty()
}
}
impl Default for PKGFile {