Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dnit/mod.ts>fs.ensureSymlinkSync

dnit: typescript (deno) task executor
Go to Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/dnit@dnit-v1.14.3/mod.ts";
const { ensureSymlinkSync } = fs;

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

Parameters

src: string

the source file path

dest: string

the destination link path