MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / currentUid

Function currentUid

apps/cli/src/service.ts:133–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 });
132
133const currentUid = (): number => {
134 const getuid = (process as { getuid?: () => number }).getuid;
135 if (typeof getuid === "function") return getuid.call(process);
136 return userInfo().uid;
137};
138
139const xmlEscape = (value: string): string =>
140 value

Callers 2

makeLaunchdBackendFunction · 0.70
makeSystemdBackendFunction · 0.70

Calls 1

callMethod · 0.80

Tested by

no test coverage detected