chore(unstable): rename Deno.getUid() and Deno.getGid() (#16432)

This commit renames `Deno.getUid()` to `Deno.uid()` and renames
`Deno.getGid()` to `Deno.gid()`.
This commit is contained in:
Colin Ihrig 2022-10-26 16:37:48 -04:00 committed by GitHub
parent f4f1f4f0b6
commit 37340e2386
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 38 additions and 38 deletions

View file

@ -33,12 +33,12 @@
return ops.op_network_interfaces();
}
function getGid() {
return ops.op_getgid();
function gid() {
return ops.op_gid();
}
function getUid() {
return ops.op_getuid();
function uid() {
return ops.op_uid();
}
// This is an internal only method used by the test harness to override the
@ -101,13 +101,13 @@
env,
execPath,
exit,
getGid,
getUid,
gid,
hostname,
loadavg,
networkInterfaces,
osRelease,
setExitHandler,
systemMemoryInfo,
uid,
};
})(this);