feat: start on install section
This commit is contained in:
parent
092c616ca4
commit
4ecc1eb1e8
4 changed files with 68 additions and 26 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue