linkSync method
Synchronously creates newpath as a hard link to oldpath.
Deno.linkSync("old/name", "new/name");
Requires allow-read and allow-write permissions.
Implementation
void linkSync(
_i2.String oldpath,
_i2.String newpath,
) {
_i3.callMethod(
this,
'linkSync',
[
oldpath,
newpath,
],
);
}