You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copies a file or a folder from the source path to the destination path
**Returns**: `Promise<int>` - 0 if succeeded, otherwise throws an Error
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| srcPath |`string`|| path where the source file to copy is located |
| destPath |`string`|| path where the source file will be copied to |
| flags |`int`|`0`| see flags in [uv_fs_copyfile](https://docs.libuv.org/en/v1.x/fs.html)|
| callback |`function`|| if not provided, this function will return Promise object |
The link to https://docs.libuv.org/en/v1.x/fs.html provides C/C++ references which will be hard to understand for developers who are more on the light-weight scripting side of things and may not have any experience with more compiler-based languages (let alone C/C++)
The text was updated successfully, but these errors were encountered:
uxp/src/pages/uxp/reference-js/Modules/uxp/Persistent File Storage/FileSystem.md
Lines 292 to 302 in 4751009
The link to https://docs.libuv.org/en/v1.x/fs.html provides C/C++ references which will be hard to understand for developers who are more on the light-weight scripting side of things and may not have any experience with more compiler-based languages (let alone C/C++)
The text was updated successfully, but these errors were encountered: