This commit is contained in:
parent
3fabc91438
commit
0cc7eb8f40
5 changed files with 53 additions and 21 deletions
|
@ -38,7 +38,11 @@ impl Package {
|
|||
}
|
||||
|
||||
pub fn file_list(&self) -> Vec<String> {
|
||||
list_tar_file(&self.base_path().join(self.file_name())).unwrap()
|
||||
list_tar_file(&self.base_path().join(self.file_name()))
|
||||
.unwrap()
|
||||
.into_iter()
|
||||
.filter(|x| !x.ends_with("/"))
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn binaries(&self) -> Vec<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue