Ende.linkSync

function ยท requires --allow-read, --allow-write

function Ende.linkSync(oldpath: string, newpath: string): void

Synchronously creates newpath as a hard link to oldpath.

Ende.linkSync("old/name", "new/name");

Requires allow-read and allow-write permissions.