Skip to main content
Module

x/scaffold/src/deps/fs.ts>ensureLinkSync

scaffold your next project with style and 💗
Latest
function ensureLinkSync
import { ensureLinkSync } from "https://deno.land/x/scaffold@0.3.0/src/deps/fs.ts";

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

Parameters

src: string

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

dest: string

the destination link path