Function move
- move(src, dest, options?): Promise<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 Promise<void>
A void promise that resolves 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
Asynchronously moves a file or directory (along with its contents).
Requires
--allow-readand--allow-writepermissions.