Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 GO-2023-1568GO-2023-2185GO-2023-2185GO-2023-2186 GO-2023-1568: Path traversal on Windows in path/filepath GO-2023-2185: Insecure parsing of Windows paths with a \??\ prefix in path/filepath GO-2023-2185: Insecure parsing of Windows paths with a \??\ prefix in path/filepath GO-2023-2186: Incorrect detection of reserved device names on Windows in path/filepath Changes in this version + const ListSeparator + const Separator + var ErrBadPattern = errors.New("syntax error in pattern") + var SkipDir error = fs.SkipDir + func Abs(path string) (string, error) + func Base(path string) string + func Clean(path string) string + func Dir(path string) string + func EvalSymlinks(path string) (string, error) + func Ext(path string) string + func FromSlash(path string) string + func Glob(pattern string) (matches []string, err error) + func HasPrefix(p, prefix string) bool + func IsAbs(path string) (b bool) — windows/amd64 + func IsAbs(path string) bool — darwin/amd64, js/wasm, linux/amd64 + func Join(elem ...string) string + func Match(pattern, name string) (matched bool, err error) + func Rel(basepath, targpath string) (string, error) + func Split(path string) (dir, file string) + func SplitList(path string) []string + func ToSlash(path string) string + func VolumeName(path string) string + func Walk(root string, fn WalkFunc) error + func WalkDir(root string, fn fs.WalkDirFunc) error + type WalkFunc func(path string, info fs.FileInfo, err error) error