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

x/deno/std/fs/mod.ts>ensureSymlinkSync

A modern runtime for JavaScript and TypeScript.
Go to Latest
function ensureSymlinkSync
import { ensureSymlinkSync } from "https://deno.land/x/deno@v0.28.0/std/fs/mod.ts";

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