func path/filepath.FromSlash
9 uses
path/filepath (current package)
path.go#L96: return FromSlash(originalPath)
path.go#L160: return FromSlash(out.string())
path.go#L176: func FromSlash(path string) string {
github.com/go-git/go-billy/v5/helper/chroot
chroot.go#L164: target = filepath.FromSlash(target)
chroot.go#L169: target = filepath.Clean(filepath.FromSlash(target))
github.com/go-git/go-git/v5
worktree_status.go#L611: file := filepath.FromSlash(e.Name)
github.com/go-git/go-git/v5/storage/filesystem/dotgit
dotgit.go#L1071: normalPath := filepath.FromSlash(relpath)
golang.org/x/pkgsite/internal/testing/testhelper
testhelper.go#L113: return filepath.Clean(filepath.Join(filepath.Dir(filename), filepath.FromSlash(rel)))
net/http
fs.go#L79: fullName := filepath.Join(dir, filepath.FromSlash(path.Clean("/"+name)))
![]() |
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. |