github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/pkg/homedir/homedir_others.go (about)

     1  // +build !linux
     2  
     3  package homedir // import "github.com/docker/docker/pkg/homedir"
     4  
     5  import (
     6  	"errors"
     7  )
     8  
     9  // GetRuntimeDir is unsupported on non-linux system.
    10  func GetRuntimeDir() (string, error) {
    11  	return "", errors.New("homedir.GetRuntimeDir() is not supported on this system")
    12  }
    13  
    14  // StickRuntimeDirContents is unsupported on non-linux system.
    15  func StickRuntimeDirContents(files []string) ([]string, error) {
    16  	return nil, errors.New("homedir.StickRuntimeDirContents() is not supported on this system")
    17  }
    18  
    19  // GetDataHome is unsupported on non-linux system.
    20  func GetDataHome() (string, error) {
    21  	return "", errors.New("homedir.GetDataHome() is not supported on this system")
    22  }
    23  
    24  // GetConfigHome is unsupported on non-linux system.
    25  func GetConfigHome() (string, error) {
    26  	return "", errors.New("homedir.GetConfigHome() is not supported on this system")
    27  }