func path/filepath.Join
39 uses
path/filepath (current package)
match.go#L346: m = append(m, Join(dir, n))
path.go#L212: func Join(elem ...string) string {
path.go#L255: return Join(wd, path), nil
path.go#L404: path1 := Join(path, d1.Name())
path.go#L435: filename := Join(path, name)
crypto/x509
root_unix.go#L106: target, err := os.Readlink(filepath.Join(dir, f.Name()))
github.com/go-pg/migrations/v8
collection.go#L222: filePath := filepath.Join(dir, fileName)
go.pact.im/x/goupdate
tests.go#L46: args[i+len(base)] = filepath.Join(moduleDir, "...")
workspaces.go#L68: paths[i] = filepath.Join(workspaceDir, filepath.FromSlash(m.DiskPath))
workspaces.go#L94: if err := os.Remove(filepath.Join(w.Dir, "go.work.sum")); err != nil && !os.IsNotExist(err) {
go/build
build.go#L120: return filepath.Join(elem...)
build.go#L287: def := filepath.Join(home, "go")
build.go#L1116: if _, ok := ctxt.hasSubdir(filepath.Join(ctxt.GOROOT, "src"), absSrcDir); ok {
build.go#L1751: args[i] = filepath.Join(srcDir, arg)
build.go#L1759: args[i] = arg[:2] + filepath.Join(srcDir, arg[2:])
gc.go#L16: return filepath.Join(runtime.GOROOT(), "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)
go/parser
interface.go#L160: filename := filepath.Join(path, d.Name())
go/scanner
scanner.go#L286: filename = filepath.Join(s.dir, filename)
golang.org/x/tools/go/packages
golist.go#L371: filename := filepath.Join(pattern, filepath.Base(query)) // avoid recomputing abspath
golist.go#L637: pkg.ExportFile = filepath.Join(p.Dir, p.Export)
golist.go#L687: filename = filepath.Join(state.cfg.Dir, filename)
golist.go#L808: file = filepath.Join(dir, file)
golist.go#L1139: filename = filepath.Join(dir, "overlay.json")
golist_overlay.go#L275: vendorDir := filepath.Join(searchDir, "vendor")
golist_overlay.go#L284: vendoredPath := filepath.Join(vendorDir, importPath)
golist_overlay.go#L383: m[filepath.Join(absDir, "src")] = ""
golang.org/x/tools/internal/gcimporter
gcimporter.go#L115: noext = filepath.Join(srcDir, path)
golang.org/x/tools/internal/gocommand
vendor.go#L70: if fi, err := os.Stat(filepath.Join(mainMod.Dir, "vendor")); err == nil && fi.IsDir() {
internal/goroot
gc.go#L22: dir := filepath.Join(goroot, "src", path)
gc.go#L83: goDir := filepath.Join(dir, "go", version)
gc.go#L86: goDir = filepath.Join(goDir, machine)
gc.go#L124: full := filepath.Join(dir, path) + ".gox"
net/http
fs.go#L79: fullName := filepath.Join(dir, filepath.FromSlash(path.Clean("/"+name)))
os/exec
exec.go#L349: path = filepath.Join(".", path)
exec.go#L360: dirandpath := filepath.Join(dir, path)
lp_unix.go#L53: path := filepath.Join(dir, file)
testing
fuzz.go#L257: c, err := f.fuzzContext.deps.ReadCorpus(filepath.Join(corpusDir, f.name), types)
fuzz.go#L349: corpusTargetDir := filepath.Join(corpusDir, f.name)
fuzz.go#L350: cacheTargetDir := filepath.Join(*fuzzCacheDir, f.name)