deno / 1.23.2 / ~ / deno.linksync.html /

Deno.linkSync

Synchronously creates newpath as a hard link to oldpath.

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

Requires allow-read and allow-write permissions.

function linkSync( oldpath: string , newpath: string) : void;
linkSync( oldpath: string , newpath: string) : void

Parameters

oldpath: string
newpath: string

Return Type

void

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.linkSync