Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ter/deps/std.ts>fs.ensureSymlinkSync

A tiny wiki-style site generator with Zettelkasten flavor.
Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/ter@0.15.57/deps/std.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