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]