MCPcopy Create free account
hub / github.com/Wscats/vscode-explore / isRootUser

Function isRootUser

contextKeyExpr/src/platform.ts:116–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114export const userAgent = _userAgent;
115
116export function isRootUser(): boolean {
117 return _isNative && !_isWindows && (process.getuid() === 0);
118}
119
120/**
121 * The language used for the user interface. The format of

Callers

nothing calls this directly

Calls 1

getuidMethod · 0.65

Tested by

no test coverage detected