Skip to main content
Build Real-time Applications with the new "watch" API in Deno KV
Read more
function Deno.linkSync
allow-read
allow-write

Synchronously creates newpath as a hard link to oldpath.

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

Requires allow-read and allow-write permissions.

Parameters

oldpath: string
newpath: string