Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sandbox/deps.ts>fs.moveSync

🦕 Create a temporary sandbox directory which is removed when the instance is disposed
Go to Latest
function fs.moveSync
import { fs } from "https://deno.land/x/sandbox@v1.1.0/deps.ts";
const { moveSync } = fs;

Moves a file or directory synchronously

Parameters

src: string | URL
dest: string | URL
optional
unnamed 2: MoveOptions = [UNSUPPORTED]