github.com/evanw/esbuild/internal/fs.goFilepath.pathSeparator (field)
21 uses
github.com/evanw/esbuild/internal/fs (current package)
filepath.go#L47: pathSeparator byte
filepath.go#L161: pathSeparator := string(fp.pathSeparator)
filepath.go#L387: out.append(fp.pathSeparator)
filepath.go#L412: out.append(fp.pathSeparator)
filepath.go#L422: out.append(fp.pathSeparator)
filepath.go#L471: return string(fp.pathSeparator)
filepath.go#L522: return fp.clean(strings.Join(elem[i:], string(fp.pathSeparator)))
filepath.go#L540: return fp.clean(elem[0] + strings.Join(elem[i:], string(fp.pathSeparator)))
filepath.go#L545: p := fp.clean(strings.Join(elem, string(fp.pathSeparator)))
filepath.go#L556: tail := fp.clean(strings.Join(elem[1:], string(fp.pathSeparator)))
filepath.go#L557: if head[len(head)-1] == fp.pathSeparator {
filepath.go#L560: return head + string(fp.pathSeparator) + tail
filepath.go#L590: baseSlashed := len(base) > 0 && base[0] == fp.pathSeparator
filepath.go#L591: targSlashed := len(targ) > 0 && targ[0] == fp.pathSeparator
filepath.go#L600: for bi < bl && base[bi] != fp.pathSeparator {
filepath.go#L603: for ti < tl && targ[ti] != fp.pathSeparator {
filepath.go#L623: seps := strings.Count(base[b0:bl], string(fp.pathSeparator))
filepath.go#L631: buf[n] = fp.pathSeparator
filepath.go#L636: buf[n] = fp.pathSeparator
fs_real.go#L66: fp.pathSeparator = '\\'
fs_real.go#L69: fp.pathSeparator = '/'
![]() |
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. |