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

x/gustwind/server-deps.ts>fs.ensureSymlinkSync

🐳💨 – Deno powered JSON oriented site generator
Go to Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/gustwind@v0.32.2-alpha.1/server-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