linkSync method

void linkSync(
  1. String oldpath,
  2. String newpath
)

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,
    ],
  );
}