FlinkSync
Bun

function

fs.linkSync

function 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.

Referenced types

type PathLike = string | Buffer | URL

Valid types for path values in "fs".