Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Deno.linkSync

Synchronously creates newpath as a hard link to oldpath.

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

Requires allow-read and allow-write permissions.

function linkSync(oldpath: string, newpath: string): void;
§
linkSync(oldpath: string, newpath: string): void
[src]

§Parameters

§
oldpath: string
[src]
§
newpath: string
[src]

§Return Type