Function moveSync
- move
Sync (src, dest, options?): void Parameters
- src: string | URL
The source file or directory as a string or URL.
- dest: string | URL
The destination file or directory as a string or URL.
Optionaloptions: MoveOptionsOptions for the move operation.
Returns void
A void value that returns once the operation completes.
See
https://docs.deno.com/runtime/manual/basics/permissions#file-system-access for more information on Deno's permissions system.
- src: string | URL
Synchronously moves a file or directory (along with its contents).
Requires
--allow-readand--allow-writepermissions.