1
0
Fork 0
mirror of https://github.com/Luzifer/gcr-clean.git synced 2024-12-24 12:21:18 +00:00
gcr-clean/vendor/github.com/docker/docker/pkg/homedir/homedir_others.go
Knut Ahlers 04cd59c534
Add vendored code
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-02-04 16:00:25 +01:00

13 lines
336 B
Go

// +build !linux
package homedir // import "github.com/docker/docker/pkg/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")
}