UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

29 lines (17 loc) 660 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [fs](../README.md) / unzip # Function: unzip() ```ts function unzip(zipFilePath, targetPath): AsyncVoidIOResult ``` Defined in: [src/std/fs/fs\_async.ts:262](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/fs/fs_async.ts#L262) 解压 zip 文件。 ## Parameters | Parameter | Type | Description | | ------ | ------ | ------ | | `zipFilePath` | `string` | 要解压的 zip 文件路径。 | | `targetPath` | `string` | 要解压到的目标文件夹路径。 | ## Returns `AsyncVoidIOResult` 解压操作的异步结果。