MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / resolveUserName

Function resolveUserName

packages/codex-native-api/src/daemon_manager.ts:1193–1195  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv)

Source from the content-addressed store, hash-verified

1191}
1192
1193function resolveUserName(env: NodeJS.ProcessEnv): string {
1194 return normalizeString(env.USER) || normalizeString(env.LOGNAME) || os.userInfo().username;
1195}
1196
1197function findCommandOnPath(
1198 platform: NodeJS.Platform,

Callers 2

buildDaemonInstallPlanFunction · 0.85
installDaemonFunction · 0.85

Calls 1

normalizeStringFunction · 0.70

Tested by

no test coverage detected