summaryrefslogtreecommitdiff
path: root/cli/msg.fbs
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-08-06 14:05:47 -0700
committerRyan Dahl <ry@tinyclouds.org>2019-08-06 17:05:47 -0400
commit4519f9a50db8852c5b70ff47481f0fc9d0fbe2f2 (patch)
treec56ebee9b57aa77df16f656e8f3ad50c65a9e2a9 /cli/msg.fbs
parentccee2f01ba2f6304720ab17e99dee17bf6687bd8 (diff)
Make Deno.execPath a function (#2743)
And throws without allow-env
Diffstat (limited to 'cli/msg.fbs')
-rw-r--r--cli/msg.fbs9
1 files changed, 8 insertions, 1 deletions
diff --git a/cli/msg.fbs b/cli/msg.fbs
index 438fa0cb9..8fb92fee9 100644
--- a/cli/msg.fbs
+++ b/cli/msg.fbs
@@ -77,6 +77,8 @@ union Any {
Truncate,
HomeDir,
HomeDirRes,
+ ExecPath,
+ ExecPathRes,
Utime,
WorkerGetMessage,
WorkerGetMessageRes,
@@ -181,7 +183,6 @@ table StartRes {
cwd: string;
pid: uint32;
argv: [string];
- exec_path: string;
main_module: string; // Absolute URL.
debug_flag: bool;
deps_flag: bool;
@@ -468,6 +469,12 @@ table HomeDirRes {
path: string;
}
+table ExecPath {}
+
+table ExecPathRes {
+ path: string;
+}
+
table Utime {
filename: string;
atime: uint64;