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

x/dax/mod.ts>PathRef#createSymlinkToSync

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method PathRef.prototype.createSymlinkToSync
Re-export
import { PathRef } from "https://deno.land/x/dax@0.32.0/mod.ts";

Synchronously creates a symlink to the provided target path.

Parameters

targetPath: URL | PathRef
opts: Partial<Deno.SymlinkOptions> & PathSymlinkOptions

Synchronously creates a symlink at the provided path with the provided target text.

Parameters

target: string
optional
opts: SymlinkOptions