Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ homeDir
Function
homeDir
examples/out-of-cluster-client-configuration/main.go:90–95 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
88
}
89
90
func
homeDir() string {
91
if
h := os.Getenv(
"HOME"
); h !=
""
{
92
return
h
93
}
94
return
os.Getenv(
"USERPROFILE"
)
// windows
95
}
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected