diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-16 12:50:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 12:50:36 +0900 |
| commit | c03a623725c7abd6f484af22765b315e8421357c (patch) | |
| tree | fc4acb6d49de4e962d3b9363593ec094de231ace /crates/shirabe/src/util | |
| parent | dbccbc406aa05cbdd30eb560bdd4be8bd87e61d6 (diff) | |
| download | php-shirabe-c03a623725c7abd6f484af22765b315e8421357c.tar.gz php-shirabe-c03a623725c7abd6f484af22765b315e8421357c.tar.zst php-shirabe-c03a623725c7abd6f484af22765b315e8421357c.zip | |
feat(port): port ZipDownloader.php
Diffstat (limited to 'crates/shirabe/src/util')
| -rw-r--r-- | crates/shirabe/src/util/zip.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/zip.rs b/crates/shirabe/src/util/zip.rs index 296345a..9c9135d 100644 --- a/crates/shirabe/src/util/zip.rs +++ b/crates/shirabe/src/util/zip.rs @@ -17,7 +17,7 @@ impl Zip { } let mut zip = ZipArchive::new(); - if !zip.open(path_to_zip) { + if zip.open(path_to_zip, 0).is_err() { return Ok(None); } |
