- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for unixAbs (0.07 sec)
-
src/path/filepath/path.go
// path name for a given file is not guaranteed to be unique. // Abs calls [Clean] on the result. func Abs(path string) (string, error) { return abs(path) } func unixAbs(path string) (string, error) { if IsAbs(path) { return Clean(path), nil } wd, err := os.Getwd() if err != nil { return "", err } return Join(wd, path), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0)