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

x/frugal/dep/std/fs.ts>ensureLinkSync

A frugal web framework
Go to Latest
function ensureLinkSync
import { ensureLinkSync } from "https://deno.land/x/frugal@0.3.0/dep/std/fs.ts";

Ensures that the hard link exists. If the directory structure does not exist, it is created.

Parameters

src: string | URL

the source file path. Directory hard links are not allowed.

dest: string | URL

the destination link path