go/build.Context.joinPath (method)
26 uses
go/build (current package)
build.go#L112: func (ctxt *Context) joinPath(elem ...string) string {
build.go#L255: dir := ctxt.joinPath(ctxt.GOROOT, "src")
build.go#L261: dir := ctxt.joinPath(p, "src")
build.go#L563: p.Dir = ctxt.joinPath(srcDir, path)
build.go#L572: root := ctxt.joinPath(ctxt.GOROOT, "src")
build.go#L583: rootsrc := ctxt.joinPath(root, "src")
build.go#L589: if dir := ctxt.joinPath(ctxt.GOROOT, "src", sub); ctxt.isDir(dir) {
build.go#L595: if dir := ctxt.joinPath(earlyRoot, "src", sub); ctxt.isDir(dir) {
build.go#L639: vendor := ctxt.joinPath(root, sub, "vendor")
build.go#L641: dir := ctxt.joinPath(vendor, path)
build.go#L681: dir := ctxt.joinPath(ctxt.GOROOT, "src", path)
build.go#L684: binaryOnly = !isDir && mode&AllowBinary != 0 && pkga != "" && ctxt.isFile(ctxt.joinPath(ctxt.GOROOT, pkga))
build.go#L696: p.Dir = ctxt.joinPath(ctxt.GOROOT, "src", path)
build.go#L702: dir := ctxt.joinPath(root, "src", path)
build.go#L704: binaryOnly = !isDir && mode&AllowBinary != 0 && pkga != "" && ctxt.isFile(ctxt.joinPath(root, pkga))
build.go#L717: dir := ctxt.joinPath(ctxt.GOROOT, "src", path)
build.go#L720: binaryOnly = !isDir && mode&AllowBinary != 0 && pkga != "" && ctxt.isFile(ctxt.joinPath(ctxt.GOROOT, pkga))
build.go#L756: p.SrcRoot = ctxt.joinPath(p.Root, "src")
build.go#L757: p.PkgRoot = ctxt.joinPath(p.Root, "pkg")
build.go#L758: p.BinDir = ctxt.joinPath(p.Root, "bin")
build.go#L760: p.PkgTargetRoot = ctxt.joinPath(p.Root, pkgtargetroot)
build.go#L761: p.PkgObj = ctxt.joinPath(p.Root, pkga)
build.go#L813: if ctxt.isDir(ctxt.joinPath(p.Dir, d.Name())) {
build.go#L1099: dir := ctxt.joinPath(ctxt.GOROOT, "src", path)
build.go#L1127: if f, err := ctxt.openFile(ctxt.joinPath(parent, "go.mod")); err == nil {
build.go#L1398: info := &fileInfo{name: ctxt.joinPath(dir, name), fset: fset}
 |
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. |