Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeaashu/claude-code
/ getUsername
Function
getUsername
src/utils/secureStorage/macOsKeychainHelpers.ts:43–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
}
42
43
export
function
getUsername(): string {
44
try {
45
return
process.env.USER || userInfo().username
46
} catch {
47
return
'claude-code-user'
48
}
49
}
50
51
// --
52
Callers
5
read
Function · 0.70
update
Function · 0.70
delete
Function · 0.70
doReadAsync
Function · 0.70
spawnSecurity
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected