github.com/ttys3/engine@v17.12.1-ce-rc2+incompatible/pkg/homedir/homedir_others.go (about) 1 // +build !linux 2 3 package homedir 4 5 import ( 6 "errors" 7 ) 8 9 // GetStatic is not needed for non-linux systems. 10 // (Precisely, it is needed only for glibc-based linux systems.) 11 func GetStatic() (string, error) { 12 return "", errors.New("homedir.GetStatic() is not supported on this system") 13 }