mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
686be57d0a
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
28 lines
872 B
Go
28 lines
872 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package homedir // import "github.com/docker/docker/pkg/homedir"
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// GetRuntimeDir is unsupported on non-linux system.
|
|
func GetRuntimeDir() (string, error) {
|
|
return "", errors.New("homedir.GetRuntimeDir() is not supported on this system")
|
|
}
|
|
|
|
// StickRuntimeDirContents is unsupported on non-linux system.
|
|
func StickRuntimeDirContents(files []string) ([]string, error) {
|
|
return nil, errors.New("homedir.StickRuntimeDirContents() is not supported on this system")
|
|
}
|
|
|
|
// GetDataHome is unsupported on non-linux system.
|
|
func GetDataHome() (string, error) {
|
|
return "", errors.New("homedir.GetDataHome() is not supported on this system")
|
|
}
|
|
|
|
// GetConfigHome is unsupported on non-linux system.
|
|
func GetConfigHome() (string, error) {
|
|
return "", errors.New("homedir.GetConfigHome() is not supported on this system")
|
|
}
|