go/build.Context.hasSubdir (method)
6 uses
go/build (current package)
build.go#L146: func (ctxt *Context) hasSubdir(root, dir string) (rel string, ok bool) {
build.go#L573: if sub, ok := ctxt.hasSubdir(root, p.Dir); ok && !inTestdata(sub) {
build.go#L584: if sub, ok := ctxt.hasSubdir(rootsrc, p.Dir); ok && !inTestdata(sub) {
build.go#L634: sub, ok := ctxt.hasSubdir(root, srcDir)
build.go#L678: _, gorootFirst = ctxt.hasSubdir(ctxt.GOROOT, srcDir)
build.go#L1092: if _, ok := ctxt.hasSubdir(filepath.Join(ctxt.GOROOT, "src"), absSrcDir); ok {
 |
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. |