method PathRef.prototype.withBasenameRe-exportimport { PathRef } from "https://deno.land/x/dax@0.32.0/mod.ts"; withBasename(basename: string): PathRefGets a new path reference with the provided file or directory name. Parametersbasename: stringReturnsPathRef