UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

29 lines (17 loc) 521 B
[**minigame-std**](../../../README.md) *** [minigame-std](../../../README.md) / [fs](../README.md) / copySync # Function: copySync() ```ts function copySync(srcPath, destPath): VoidIOResult ``` `copy` 的同步版本。 ## Parameters | Parameter | Type | | ------ | ------ | | `srcPath` | `string` | | `destPath` | `string` | ## Returns `VoidIOResult` ## Defined in [src/std/fs/fs\_sync.ts:129](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/fs/fs_sync.ts#L129)