(path string)
| 6 | import "path/filepath" |
| 7 | |
| 8 | func CanonicalizeSystemPath(path string) (string, error) { |
| 9 | path, err := filepath.Abs(path) |
| 10 | if err != nil { |
| 11 | return "", err |
| 12 | } |
| 13 | return filepath.EvalSymlinks(path) |
| 14 | } |
no outgoing calls
no test coverage detected