function toFileUrlimport { toFileUrl } from "https://dotland.deno.dev/x/proc@0.21.9/site/scripts/deps/path.ts"; toFileUrl(path: string): URLConverts a path string to a file URL. import { toFileUrl } from "https://deno.land/std@$STD_VERSION/path/posix/to_file_url.ts"; toFileUrl("/home/foo"); // new URL("file:///home/foo") Parameterspath: stringto convert to file URL ReturnsURL