Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeaashu/claude-code
/ getUsername
Function
getUsername
src/utils/claudeInChrome/common.ts:534–540 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
532
}
533
534
function
getUsername(): string {
535
try {
536
return
userInfo().username ||
'default'
537
} catch {
538
return
process.env.USER || process.env.USERNAME ||
'default'
539
}
540
}
541
Callers
4
getSocketDir
Function · 0.70
getAllSocketPaths
Function · 0.70
getSocketName
Function · 0.70
saveApiKey
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected