MCPcopy 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
29function getHomeDir(): string {
30 return process.env.USERPROFILE ?? os.homedir();
31}
32function getDefaultUsername(): string {
33 try {
34 return os.userInfo().username;

Callers 2

loadSSHConfigFunction · 0.70
resolveSSHConfigFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected