summaryrefslogtreecommitdiff
path: root/runtime/js/30_os.js
diff options
context:
space:
mode:
authorJames Bradlee <post@jamesb.no>2022-05-31 10:42:44 +0200
committerGitHub <noreply@github.com>2022-05-31 17:42:44 +0900
commitc41544ac7b502fbdb6c1ee96a604490b72eb7770 (patch)
treee2b855a0c722feddf170ffb11c2a7f756a7f1e56 /runtime/js/30_os.js
parentd9ed5e905c25bd415b5e65649a44e0a1580e5ed1 (diff)
feat(unstable): add Deno.getGid (#14528)
Diffstat (limited to 'runtime/js/30_os.js')
-rw-r--r--runtime/js/30_os.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js
index 9cc2ba5c7..f9df42305 100644
--- a/runtime/js/30_os.js
+++ b/runtime/js/30_os.js
@@ -30,6 +30,10 @@
return core.opSync("op_network_interfaces");
}
+ function getGid() {
+ return core.opSync("op_getgid");
+ }
+
function getUid() {
return core.opSync("op_getuid");
}
@@ -94,6 +98,7 @@
env,
execPath,
exit,
+ getGid,
getUid,
hostname,
loadavg,