Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/clone/deps.ts>fs.ensureSymlinkSync

A simple utility for the convenient clone
Go to Latest
function fs.ensureSymlinkSync
import { fs } from "https://deno.land/x/clone@v1.0.4/deps.ts";
const { ensureSymlinkSync } = fs;

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