diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-12-21 11:30:13 +0000 |
---|---|---|
committer | Ry Dahl <ry@tinyclouds.org> | 2019-12-21 06:30:13 -0500 |
commit | f07ffe89806392698fb8052691b2826f82f15bbe (patch) | |
tree | 255eb2d0f3460bd4c526583ce92640fea8504590 /cli/js/lib.deno_runtime.d.ts | |
parent | f4f4c6bcb435ffb7e1dd9383d8d39e9e36b1337a (diff) |
feat: Add Deno.dir("executable") (#3526)
Diffstat (limited to 'cli/js/lib.deno_runtime.d.ts')
-rw-r--r-- | cli/js/lib.deno_runtime.d.ts | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cli/js/lib.deno_runtime.d.ts b/cli/js/lib.deno_runtime.d.ts index e667d497d..d955c09bf 100644 --- a/cli/js/lib.deno_runtime.d.ts +++ b/cli/js/lib.deno_runtime.d.ts @@ -59,6 +59,7 @@ declare namespace Deno { | "home" | "cache" | "config" + | "executable" | "data" | "data_local" | "audio" @@ -77,9 +78,9 @@ declare namespace Deno { * Returns null if there is no applicable directory or if any other error * occurs. * - * Argument values: "home", "cache", "config", "data", "data_local", "audio", - * "desktop", "document", "download", "font", "picture", "public", "template", - * "video" + * Argument values: "home", "cache", "config", "executable", "data", + * "data_local", "audio", "desktop", "document", "download", "font", "picture", + * "public", "template", "video" * * "cache" * |Platform | Value | Example | @@ -95,6 +96,13 @@ declare namespace Deno { * | macOS | `$HOME`/Library/Preferences | /Users/Alice/Library/Preferences | * | Windows | `{FOLDERID_RoamingAppData}` | C:\Users\Alice\AppData\Roaming | * + * "executable" + * |Platform | Value | Example | + * | ------- | --------------------------------------------------------------- | -----------------------| + * | Linux | `XDG_BIN_HOME` or `$XDG_DATA_HOME`/../bin or `$HOME`/.local/bin | /home/alice/.local/bin | + * | macOS | - | - | + * | Windows | - | - | + * * "data" * |Platform | Value | Example | * | ------- | ---------------------------------------- | ---------------------------------------- | |