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

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

[WIP] A framework for crafting interactions with Substrate chains
Latest
function ensureSymlinkSync
import { ensureSymlinkSync } from "https://deno.land/x/capi@v0.1.1-beta.1/deps/std/fs.ts";

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