Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/coder/mux
/ getHomeDir
Function
getHomeDir
src/node/runtime/sshConfigParser.ts:29–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
}
28
29
function
getHomeDir(): string {
30
return
process.env.USERPROFILE ?? os.homedir();
31
}
32
function
getDefaultUsername(): string {
33
try {
34
return
os.userInfo().username;
Callers
2
loadSSHConfig
Function · 0.70
resolveSSHConfig
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected