Skip to main content
Module

x/dax/src/deps.ts>fs.ensureSymlinkSync

Cross-platform shell tools for Deno and Node.js inspired by zx.
Extremely Popular
Go to Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/dax@0.39.1/src/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