Skip to main content
Module

std/node/fs.ts>rename

Deno standard library
Go to Latest
function rename
Re-export
import { rename } from "https://deno.land/std@0.158.0/node/fs.ts";

Parameters

oldPath: string | URL
newPath: string | URL
callback: (err?: Error) => void