github.com/evanw/esbuild/internal/fs.goFilepath.isPathSeparator (method)
19 uses
github.com/evanw/esbuild/internal/fs (current package)
filepath.go#L109: func (fp goFilepath) isPathSeparator(c uint8) bool {
filepath.go#L163: if volLen < len(path) && fp.isPathSeparator(path[volLen]) {
filepath.go#L170: for start < len(path) && fp.isPathSeparator(path[start]) {
filepath.go#L174: for end < len(path) && !fp.isPathSeparator(path[end]) {
filepath.go#L198: if fp.isPathSeparator(dest[r]) {
filepath.go#L220: if len(dest) > fp.volumeNameLen(dest) && !fp.isPathSeparator(dest[len(dest)-1]) {
filepath.go#L263: if v < len(link) && fp.isPathSeparator(link[v]) {
filepath.go#L269: } else if len(link) > 0 && fp.isPathSeparator(link[0]) {
filepath.go#L278: if fp.isPathSeparator(dest[r]) {
filepath.go#L376: rooted := fp.isPathSeparator(path[0])
filepath.go#L393: case fp.isPathSeparator(path[r]):
filepath.go#L396: case path[r] == '.' && (r+1 == n || fp.isPathSeparator(path[r+1])):
filepath.go#L399: case path[r] == '.' && path[r+1] == '.' && (r+2 == n || fp.isPathSeparator(path[r+2])):
filepath.go#L406: for out.w > dotdot && !fp.isPathSeparator(out.index(out.w)) {
filepath.go#L425: for ; r < n && !fp.isPathSeparator(path[r]); r++ {
filepath.go#L456: for len(path) > 0 && fp.isPathSeparator(path[len(path)-1]) {
filepath.go#L463: for i >= 0 && !fp.isPathSeparator(path[i]) {
filepath.go#L485: for i >= len(vol) && !fp.isPathSeparator(path[i]) {
filepath.go#L501: for i := len(path) - 1; i >= 0 && !fp.isPathSeparator(path[i]); i-- {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |