Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

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

πŸ³πŸ’¨ – Deno powered site creator
Go to Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/gustwind@v0.56.1/server-deps.ts";
const { ensureSymlinkSync } = fs;

Ensures that the link exists, and points to a valid file. If the directory structure does not exist, it is created.

Parameters

target: string | URL

the source file path

linkName: string | URL

the destination link path