const path/filepath.Separator
23 uses
path/filepath (current package)
match.go#L51: return !strings.Contains(name, string(Separator)), nil
match.go#L68: for i := 0; i < len(name) && name[i] != Separator; i++ {
match.go#L177: if s[0] == Separator {
match.go#L300: case string(Separator):
path.go#L67: Separator = os.PathSeparator
path.go#L120: out.append(Separator)
path.go#L145: out.append(Separator)
path.go#L155: out.append(Separator)
path.go#L217: if Separator == '/' {
path.go#L220: return strings.ReplaceAll(path, string(Separator), "/")
path.go#L227: if Separator == '/' {
path.go#L230: return strings.ReplaceAll(path, "/", string(Separator))
path.go#L330: base = string(Separator)
path.go#L334: baseSlashed := len(base) > 0 && base[0] == Separator
path.go#L335: targSlashed := len(targ) > 0 && targ[0] == Separator
path.go#L344: for bi < bl && base[bi] != Separator {
path.go#L347: for ti < tl && targ[ti] != Separator {
path.go#L367: seps := strings.Count(base[b0:bl], string(Separator))
path.go#L375: buf[n] = Separator
path.go#L380: buf[n] = Separator
path.go#L636: return string(Separator)
path_unix.go#L49: return Clean(strings.Join(elem[i:], string(Separator)))
net/http
fs.go#L84: return nil, mapOpenError(err, fullName, filepath.Separator, os.Stat)
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |