import { Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { readLink } = Deno;
Resolves to the full path destination of the named symbolic link.
await Deno.symlink("./test.txt", "./test_link.txt");
const target = await Deno.readLink("./test_link.txt"); // full path of ./test.txt
Throws TypeError if called with a hard link.
Requires allow-read
permission.
Parameters
path: string | URL