method PathRef.prototype.renameSyncRe-exportimport { PathRef } from "https://deno.land/x/dax@0.34.0/mod.ts"; renameSync(newPath: string | URL | PathRef): PathRefMoves the file or directory returning a promise that resolves to the renamed path synchronously. ParametersnewPath: string | URL | PathRefReturnsPathRef