function Deno.linkSync allow-readallow-write linkSync(oldpath: string,newpath: string,): void Synchronously creates `newpath` as a hard link to `oldpath`. ```ts Deno.linkSync("old/name", "new/name"); ``` Requires `allow-read` and `allow-write` permissions. Parameters oldpath: string newpath: string Return Type void