MCPcopy 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
32func homeDir() string {
33 usr, err := user.Current()
34 if err != nil {
35 return ""
36 }
37
38 return usr.HomeDir
39}
40
41func New() (*info, error) {
42 disk, err := diskStats()

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected