Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/bundler/deps.ts>fs.ensureSymlinkSync

A Bundler with the web in mind.
Go to Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/bundler@0.6.5/deps.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