move(): Promise<void>
Asynchronously moves a file or directory (along with its contents).
Requires --allow-read
and --allow-write
permissions.
optional
options: MoveOptions
Options for the move operation.
Promise<void>
A void promise that resolves once the operation completes.
https://docs.deno.com/runtime/manual/basics/permissions#file-system-access for more information on Deno's permissions system.