File systemReference
movefile
Move a file or folder within the workspace.
Details#
Move a file or folder within the workspace. No return values.
Signature#
movefile(source: string, destination: string): ()Parameters#
| Parameter | Type | Description |
|---|---|---|
source | string | Existing workspace-relative source path. |
destination | string | Workspace-relative target path. |
Returns#
No return values.
Examples#
Local example
writefile("docs-example/original-movefile.txt", "local note")
movefile("docs-example/original-movefile.txt", "docs-example/result-movefile.txt")