// IsPathClean will replace slashes to Separator (which is OS-specific). // This will make sure that all slashes are the same before comparing. func IsPathClean(path string) bool { … }
// IsPathClean will replace slashes to Separator (which is OS-specific). // This will make sure that all slashes are the same before comparing. func IsPathClean(path string) bool { … }