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