github.com/jiasir/docker@v1.3.3-0.20170609024000-252e610103e7/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  }