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

x/ayonli_jsext/lib.deno.d.ts>Deno.linkSync

A JavaScript extension package for building strong and modern applications.
Latest
function Deno.linkSync
allow-read
allow-write
import { Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { linkSync } = Deno;

Synchronously creates newpath as a hard link to oldpath.

Deno.linkSync("old/name", "new/name");

Requires allow-read and allow-write permissions.

Parameters

oldpath: string
newpath: string