MCPcopy
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
90func homeDir() string {
91 if h := os.Getenv("HOME"); h != "" {
92 return h
93 }
94 return os.Getenv("USERPROFILE") // windows
95}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected