Module

x/dax/src/path.ts>Path#createSymlinkToSync

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method Path.prototype.createSymlinkToSync
import { Path } from "https://dotland.deno.dev/x/dax@0.39.2/src/path.ts";

Synchronously creates a symlink to the provided target path.

Parameters

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

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

Parameters

target: string
optional
opts: SymlinkOptions