UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

31 lines (20 loc) 578 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [fs](../README.md) / zipSync # Function: zipSync() ```ts function zipSync( sourcePath, zipFilePath, options?): VoidIOResult ``` Defined in: [src/std/fs/fs\_sync.ts:178](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/fs/fs_sync.ts#L178) `zip` 的同步版本。 ## Parameters | Parameter | Type | | ------ | ------ | | `sourcePath` | `string` | | `zipFilePath` | `string` | | `options`? | `ZipOptions` | ## Returns `VoidIOResult`