const os.PathSeparator
14 uses
os (current package)
path_unix.go#L10: PathSeparator = '/' // OS-specific path separator
path_unix.go#L16: return PathSeparator == c
removeall_at.go#L50: pathErr.Path = parentDir + string(PathSeparator) + pathErr.Path
removeall_at.go#L124: pathErr.Path = base + string(PathSeparator) + pathErr.Path
tempfile.go#L46: return nil, &PathError{Op: "createtemp", Path: dir + string(PathSeparator) + prefix + "*" + suffix, Err: ErrExist}
tempfile.go#L99: return "", &PathError{Op: "mkdirtemp", Path: dir + string(PathSeparator) + prefix + "*" + suffix, Err: ErrExist}
tempfile.go#L114: return dir + string(PathSeparator) + name
github.com/go-git/go-billy/v5/helper/chroot
chroot.go#L200: return string(os.PathSeparator) + target, nil
github.com/go-git/go-billy/v5/osfs
os.go#L95: if err := fs.createDir(dir + string(os.PathSeparator)); err != nil {
io/ioutil
tempfile.go#L83: if strings.ContainsRune(pattern, os.PathSeparator) {
path/filepath
path.go#L62: Separator = os.PathSeparator
symlink.go#L17: pathSeparator := string(os.PathSeparator)
testing
testing.go#L959: dir := fmt.Sprintf("%s%c%03d", c.tempDir, os.PathSeparator, seq)
testing.go#L1687: return fmt.Sprintf("%s%c%s", *outputDir, os.PathSeparator, path)
 |
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. |