func os.IsPathSeparator
28 uses
os (current package)
path.go#L30: for i > 0 && IsPathSeparator(path[i-1]) { // Skip trailing path separator.
path.go#L35: for j > 0 && !IsPathSeparator(path[j-1]) { // Scan backward over element.
path.go#L75: if len(path) >= 2 && path[len(path)-1] == '.' && IsPathSeparator(path[len(path)-2]) {
path_unix.go#L15: func IsPathSeparator(c uint8) bool {
tempfile.go#L61: if IsPathSeparator(pattern[i]) {
tempfile.go#L114: if len(dir) > 0 && IsPathSeparator(dir[len(dir)-1]) {
os/exec
exec.go#L357: if len(path) > 1 && os.IsPathSeparator(path[0]) {
path/filepath
match.go#L305: case vollen+1 == len(path) && os.IsPathSeparator(path[len(path)-1]): // /, \, C:\ and C:/
path.go#L100: rooted := os.IsPathSeparator(path[0])
path.go#L117: case os.IsPathSeparator(path[r]):
path.go#L120: case path[r] == '.' && (r+1 == n || os.IsPathSeparator(path[r+1])):
path.go#L123: case path[r] == '.' && path[r+1] == '.' && (r+2 == n || os.IsPathSeparator(path[r+2])):
path.go#L130: for out.w > dotdot && !os.IsPathSeparator(out.index(out.w)) {
path.go#L149: for ; r < n && !os.IsPathSeparator(path[r]); r++ {
path.go#L199: for i >= len(vol) && !os.IsPathSeparator(path[i]) {
path.go#L221: for i := len(path) - 1; i >= 0 && !os.IsPathSeparator(path[i]); i-- {
path.go#L554: for len(path) > 0 && os.IsPathSeparator(path[len(path)-1]) {
path.go#L561: for i >= 0 && !os.IsPathSeparator(path[i]) {
path.go#L583: for i >= len(vol) && !os.IsPathSeparator(path[i]) {
symlink.go#L19: if volLen < len(path) && os.IsPathSeparator(path[volLen]) {
symlink.go#L26: for start < len(path) && os.IsPathSeparator(path[start]) {
symlink.go#L30: for end < len(path) && !os.IsPathSeparator(path[end]) {
symlink.go#L54: if os.IsPathSeparator(dest[r]) {
symlink.go#L76: if len(dest) > volumeNameLen(dest) && !os.IsPathSeparator(dest[len(dest)-1]) {
symlink.go#L119: if v < len(link) && os.IsPathSeparator(link[v]) {
symlink.go#L125: } else if len(link) > 0 && os.IsPathSeparator(link[0]) {
symlink.go#L134: if os.IsPathSeparator(dest[r]) {
testing
testing.go#L2013: if os.IsPathSeparator(path[0]) {