UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

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