mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
14 lines
287 B
Go
14 lines
287 B
Go
|
// +build !linux
|
||
|
|
||
|
package homedir
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
// GetStatic is not needed for non-linux systems.
|
||
|
// (Precisely, it is needed only for glibc-based linux systems.)
|
||
|
func GetStatic() (string, error) {
|
||
|
return "", errors.New("homedir.GetStatic() is not supported on this system")
|
||
|
}
|