Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fsrouter/deps.ts>fs.ensureSymlinkSync

A file system based router for Deno.
Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/fsrouter@3.1.0/deps.ts";
const { ensureSymlinkSync } = fs;

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