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

x/deno/std/fs/mod.ts>moveSync

A modern runtime for JavaScript and TypeScript.
Go to Latest
function moveSync
import { moveSync } from "https://deno.land/x/deno@v0.28.0/std/fs/mod.ts";

Moves a file or directory

Parameters

src: string
dest: string
optional
options: MoveOptions