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

Deno.link

Creates newpath as a hard link to oldpath.

await Deno.link("old/name", "new/name");

Requires allow-read and allow-write permissions.

function link(oldpath: string, newpath: string): Promise<void>;
§
link(oldpath: string, newpath: string): Promise<void>
[src]

§Parameters

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

§Return Type

§
Promise<void>
[src]