Skip to main content
linkSync - fs - Node documentation
function linkSync

Usage in Deno

import { linkSync } from "node:fs";
linkSync(
existingPath: PathLike,
newPath: PathLike,
): void

Creates a new link from the existingPath to the newPath. See the POSIX link(2) documentation for more detail. Returns undefined.

Parameters

existingPath: PathLike
newPath: PathLike

Return Type

void
Back to top