mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 05:05:08 +00:00
introduce unstable flag, make a few things unstable (#4892)
This commit is contained in:
parent
b28e60ecaf
commit
0c47cd6785
11 changed files with 49 additions and 0 deletions
6
cli/js/lib.deno.ns.d.ts
vendored
6
cli/js/lib.deno.ns.d.ts
vendored
|
@ -1561,6 +1561,8 @@ declare namespace Deno {
|
|||
export function linkSync(oldpath: string, newpath: string): void;
|
||||
|
||||
/** Creates `newpath` as a hard link to `oldpath`.
|
||||
*
|
||||
* **UNSTABLE**: needs security review.
|
||||
*
|
||||
* await Deno.link("old/name", "new/name");
|
||||
*
|
||||
|
@ -1568,6 +1570,8 @@ declare namespace Deno {
|
|||
export function link(oldpath: string, newpath: string): Promise<void>;
|
||||
|
||||
/** **UNSTABLE**: `type` argument type may be changed to `"dir" | "file"`.
|
||||
*
|
||||
* **UNSTABLE**: needs security review.
|
||||
*
|
||||
* Creates `newpath` as a symbolic link to `oldpath`.
|
||||
*
|
||||
|
@ -1586,6 +1590,8 @@ declare namespace Deno {
|
|||
): void;
|
||||
|
||||
/** **UNSTABLE**: `type` argument may be changed to `"dir" | "file"`
|
||||
*
|
||||
* **UNSTABLE**: needs security review.
|
||||
*
|
||||
* Creates `newpath` as a symbolic link to `oldpath`.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue