feat: commit unzip_file function
This commit is contained in:
1 parent
d8506301eb
commit
b28043a944
2 files changed
+12
-1
No files matched your search
+1
-1
@@ -313,7 +313,7 @@ impl Tool {
|
||||
}
|
||||
}
|
||||
|
||||
fn extract_zip(file: &Path, target: &Path) -> anyhow::Result<()> {
|
||||
pub fn extract_zip(file: &Path, target: &Path) -> anyhow::Result<()> {
|
||||
let zip_file = std::fs::File::open(&file)?;
|
||||
let mut zip = zip::ZipArchive::new(zip_file)?;
|
||||
|
||||
|
||||
Reference in new issue
Block a user