(path string)
| 365 | } |
| 366 | |
| 367 | func resolvePath(path string) (string, error) { |
| 368 | if resolved, err := filepath.EvalSymlinks(path); err == nil { |
| 369 | return filepath.Abs(resolved) |
| 370 | } |
| 371 | return filepath.Abs(path) |
| 372 | } |
| 373 | |
| 374 | func IsWindows() bool { |
| 375 | return runtime.GOOS == "windows" |
no outgoing calls
no test coverage detected