Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/src/core/mod.ts>VirtualFileSystem#renameSync

Work-in-progress front-end tool which does put a smile on my face
Latest
method VirtualFileSystem.prototype.renameSync
Re-export
import { VirtualFileSystem } from "https://deno.land/x/gauntlet@v0.0.9/src/core/mod.ts";

Rename synchronously a file or a directory. This method is almost the same as moveSync except the destination cannot be an existing entry, nor the root folder.

Parameters

from: string
to: string