github.com/endophage/docker@v1.4.2-0.20161027011718-242853499895/pkg/symlink/fs_unix.go (about) 1 // +build !windows 2 3 package symlink 4 5 import ( 6 "path/filepath" 7 ) 8 9 func evalSymlinks(path string) (string, error) { 10 return filepath.EvalSymlinks(path) 11 } 12 13 func isDriveOrRoot(p string) bool { 14 return p == string(filepath.Separator) 15 }