import { ensureAsPath } from "https://deno.land/x/dxx@rf/src/lib/$shared.ts";
Ensure "path" is a valid path/URL-string (by conversion if needed) or panic.
Parameters
optional
path: string | URL• path/URL-string (may already be in URL file format [ie, 'file://...']) or URL