Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function ensureSymlinkSync
import { ensureSymlinkSync } from "https://deno.land/x/frugal@0.3.0/dep/std/fs.ts";

Ensures that the link exists. If the directory structure does not exist, it is created.

Parameters

src: string | URL

the source file path

dest: string | URL

the destination link path