func path/filepath.ToSlash
14 uses
path/filepath (current package)
path.go#L166: func ToSlash(path string) string {
github.com/go-git/go-billy/v5/helper/chroot
chroot.go#L37: path = filepath.ToSlash(path)
github.com/go-git/go-git/v5
status.go#L25: stat, ok := (s)[filepath.ToSlash(path)]
worktree.go#L953: delete(b.entries, filepath.ToSlash(name))
github.com/go-git/go-git/v5/plumbing/format/index
index.go#L62: Name: filepath.ToSlash(path),
index.go#L71: path = filepath.ToSlash(path)
index.go#L83: path = filepath.ToSlash(path)
index.go#L97: pattern = filepath.ToSlash(pattern)
github.com/go-git/go-git/v5/storage/filesystem/dotgit
dotgit.go#L1063: slashPath := filepath.ToSlash(path)
go/build
build.go#L182: return filepath.ToSlash(dir[len(root):]), true
build.go#L1706: srcdir = filepath.ToSlash(srcdir)
golang.org/x/mod/zip
zip.go#L725: slashPath := filepath.ToSlash(relPath)
golang.org/x/pkgsite/internal/licenses
licenses.go#L347: cleanDir := filepath.ToSlash(filepath.Clean(dir))
golang.org/x/pkgsite/internal/postgres
test_helper.go#L49: return "file://" + filepath.ToSlash(migrationsDir)
![]() |
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. |