github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/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 }