Implement FILEMAN:Unzip(string zipPath, string targetPath, int strip)

Unzip zip file at `zipPath` to `targetPath`.
`strip` is optional and defaults to `0`. If set to a number larger than
`0`, that many components are removed from the paths of the extracted
files. e.g. `a/b/c` is replaced with `b/c` when stripping one component
or just `c` when stripping two.
Returns whether all files were extracted successfully.
This commit is contained in:
Martin Natano
2022-03-13 11:46:28 -07:00
committed by teejusb
parent ca86f80743
commit 67d1c78450
18 changed files with 10631 additions and 2 deletions
+1
View File
@@ -1596,6 +1596,7 @@
<Function name='GetDirListing'/>
<Function name='GetFileSizeBytes'/>
<Function name='GetHashForFile'/>
<Function name='Unzip'/>
</Class>
<Class name='RageInput'>
<Function name='GetDescriptions'/>