function toFileUrlimport { toFileUrl } from "https://dotland.deno.dev/std@0.213.0/path/posix/mod.ts"; toFileUrl(path: string): URLConverts a path string to a file URL. import { toFileUrl } from "https://deno.land/std@0.213.0/path/posix/to_file_url.ts"; toFileUrl("/home/foo"); // new URL("file:///home/foo") Parameterspath: stringto convert to file URL ReturnsURL