Skip to main content
Module

x/deno/tools/release/deps.ts>dax.PathRef#renameSync

A modern runtime for JavaScript and TypeScript.
Latest
method dax.PathRef.prototype.renameSync
Re-export
import { dax } from "https://deno.land/x/deno@v1.41.0/tools/release/deps.ts";
const { PathRef } = dax;

Renames the file or directory returning a promise that resolves to the renamed path synchronously.

Parameters

newPath: string | URL | PathRef