Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/koding/kite
/ homeDir
Function
homeDir
systeminfo/systeminfo.go:32–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
}
31
32
func
homeDir() string {
33
usr, err := user.Current()
34
if
err != nil {
35
return
""
36
}
37
38
return
usr.HomeDir
39
}
40
41
func
New() (*info, error) {
42
disk, err := diskStats()
Callers
1
New
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected