Module

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

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

Creates a symlink to the provided target path.

Parameters

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

Returns

Promise<void>

Creates a symlink at the provided path with the provided target text.

Parameters

target: string
optional
opts: SymlinkOptions

Returns

Promise<void>