link
import { link } from "jsr:@ende/fs/unstable-link";function · experimental · requires --allow-read, --allow-write
async function link(oldpath: string, newpath: string): Promise<void>Creates newpath as a hard link to oldpath.
Requires allow-read and allow-write permissions.
oldpath: stringThe path of the resource pointed by the hard link.
newpath: stringThe path of the hard link.
Example: Usage
import { link } from "@ende/fs/unstable-link";
await link("old/name", "new/name");