function Deno.link
Jump to headinglink(oldpath: string,newpath: string,): Promise<void>
Creates newpath
as a hard link to oldpath
.
await Deno.link("old/name", "new/name");
Requires allow-read
and allow-write
permissions.
Parameters Jump to heading
Jump to headingoldpath: string
Jump to headingnewpath: string
Return Type Jump to heading
Promise<void>