2015-08-24 17:07:22 -04:00
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package symlink
|
|
|
|
|
|
|
|
import (
|
|
|
|
"path/filepath"
|
|
|
|
)
|
|
|
|
|
|
|
|
func evalSymlinks(path string) (string, error) {
|
|
|
|
return filepath.EvalSymlinks(path)
|
|
|
|
}
|
2016-09-07 21:20:51 -04:00
|
|
|
|
|
|
|
func isDriveOrRoot(p string) bool {
|
|
|
|
return p == string(filepath.Separator)
|
|
|
|
}
|