symlinkSync method

void symlinkSync(
  1. Object oldpath,
  2. Object newpath, [
  3. SymlinkOptions? options
])

Creates newpath as a symbolic link to oldpath.

The options.type parameter can be set to "file" or "dir". This argument is only available on Windows and ignored on other platforms.

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

Requires full allow-read and allow-write permissions.

Implementation

void symlinkSync(
  _i2.Object oldpath,
  _i2.Object newpath, [
  _i4.SymlinkOptions? options,
]) {
  _i3.callMethod(
    this,
    'symlinkSync',
    [
      oldpath,
      newpath,
      options ?? _i6.undefined,
    ],
  );
}