import { moveSync } from "https://deno.land/std@0.220.1/fs/mod.ts";
Moves a file or directory synchronously.
Examples
Example 1
Example 1
import { moveSync } from "https://deno.land/std@0.220.1/fs/mod.ts";
moveSync("./foo", "./bar"); // void
import { moveSync } from "https://deno.land/std@0.220.1/fs/mod.ts";
Moves a file or directory synchronously.
Example 1
import { moveSync } from "https://deno.land/std@0.220.1/fs/mod.ts";
moveSync("./foo", "./bar"); // void