Home | History | Annotate | Download | only in dist

Lines Matching full:hasprefix

305 	if strings.HasPrefix(branch, "release-branch.") {
440 if strings.HasPrefix(goversion, "release.") || (strings.HasPrefix(goversion, "go") && !strings.Contains(goversion, "beta")) {
512 ispkg := !strings.HasPrefix(dir, "cmd/") || strings.HasPrefix(dir, "cmd/internal/") || strings.HasPrefix(dir, "cmd/asm/internal/")
549 return !strings.HasPrefix(p, ".") && (!strings.HasPrefix(p, "_") || !strings.HasSuffix(p, ".go"))
553 if dir == dt.prefix || strings.HasSuffix(dt.prefix, "/") && strings.HasPrefix(dir, dt.prefix) {
622 if strings.HasPrefix(elem, gt.nameprefix) {
658 if strings.HasPrefix(dir, "cmd/") {
790 if !strings.HasPrefix(p, "//") {
911 if strings.HasPrefix(elem, gt.nameprefix) {
917 if strings.HasPrefix(name, "cmd/") {
1125 // there happens to be symlinks in goroot, then the hasprefix test
1131 if !strings.HasPrefix(pwd, real_src) {