func os.IsPathSeparator
20 uses
os (current package)
file.go#L789: if IsPathSeparator(dir[len(dir)-1]) {
path.go#L35: for i >= 0 && IsPathSeparator(path[i]) {
path.go#L38: for i >= 0 && !IsPathSeparator(path[i]) {
path.go#L82: if len(path) >= 2 && path[len(path)-1] == '.' && IsPathSeparator(path[len(path)-2]) {
path_unix.go#L15: func IsPathSeparator(c uint8) bool {
root.go#L194: if IsPathSeparator(s[0]) {
root.go#L211: if j < len(s) && !IsPathSeparator(s[j]) {
root.go#L219: for j < len(s) && IsPathSeparator(s[j]) {
tempfile.go#L66: if IsPathSeparator(pattern[i]) {
tempfile.go#L120: if len(dir) > 0 && IsPathSeparator(dir[len(dir)-1]) {
path/filepath
match.go#L315: case vollen+1 == len(path) && os.IsPathSeparator(path[len(path)-1]): // /, \, C:\ and C:/
symlink.go#L20: if volLen < len(path) && os.IsPathSeparator(path[volLen]) {
symlink.go#L27: for start < len(path) && os.IsPathSeparator(path[start]) {
symlink.go#L31: for end < len(path) && !os.IsPathSeparator(path[end]) {
symlink.go#L55: if os.IsPathSeparator(dest[r]) {
symlink.go#L77: if len(dest) > filepathlite.VolumeNameLen(dest) && !os.IsPathSeparator(dest[len(dest)-1]) {
symlink.go#L120: if v < len(link) && os.IsPathSeparator(link[v]) {
symlink.go#L126: } else if len(link) > 0 && os.IsPathSeparator(link[0]) {
symlink.go#L137: if os.IsPathSeparator(dest[r]) {
testing
testing.go#L2457: if os.IsPathSeparator(path[0]) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)