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

x/deno2node/src/deps.deno.ts>Directory#moveImmediatelySync

Compile your Deno project to run on Node.js.
Go to Latest
method Directory.prototype.moveImmediatelySync
import { Directory } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Immediately moves the directory to a new path synchronously.

Parameters

relativeOrAbsolutePath: string
  • Directory path as an absolute or relative path.
optional
options: DirectoryMoveOptions
  • Options for moving the directory.