func io/fs.ValidPath

6 uses

	io/fs (current package)
		fs.go#L47: func ValidPath(name string) bool {
		sub.go#L35: 	if !ValidPath(dir) {
		sub.go#L54: 	if !ValidPath(name) {

	embed
		embed.go#L252: 	if !fs.ValidPath(name) {

	os
		file.go#L644: 	if !fs.ValidPath(name) || runtime.GOOS == "windows" && containsAny(name, `\:`) {
		file.go#L655: 	if !fs.ValidPath(name) || runtime.GOOS == "windows" && containsAny(name, `\:`) {