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

Function currentUid

e2e/desktop-packaged/supervised-regressions.test.ts:254–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252};
253
254const currentUid = (): number => {
255 const getuid = (process as { readonly getuid?: () => number }).getuid;
256 return typeof getuid === "function" ? getuid.call(process) : 0;
257};
258
259const serviceTarget = (): string => `gui/${currentUid()}/${SERVICE_LABEL}`;
260const launchAgentPath = (): string =>

Callers 2

serviceTargetFunction · 0.70
restoreLaunchdServiceFunction · 0.70

Calls 1

callMethod · 0.80

Tested by

no test coverage detected