Module

x/fresh/tests/deps.ts>fs.ensureSymlinkSync

The next-gen web framework.
Extremely Popular
Go to Latest
function fs.ensureSymlinkSync
import { fs } from "https://dotland.deno.dev/x/fresh@1.5.2/tests/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