feat: start on install section
All checks were successful
/ check (push) Successful in 39s

This commit is contained in:
Didier Slof 2023-07-17 18:02:10 +02:00
parent d9d4728dd6
commit c3db07dc64
Signed by: didier
GPG key ID: 01E71F18AA4398E5
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 {