Module

std/node/fs.ts>linkSync

Deno standard library
Go to Latest
function linkSync
import { linkSync } from "https://dotland.deno.dev/std@0.145.0/node/fs.ts";

TODO: Also accept 'path' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403

Parameters

existingPath: string | URL
newPath: string | URL
import linkSync
import { linkSync } from "https://dotland.deno.dev/std@0.145.0/node/fs.ts";