Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IsPrerelease (0.54 sec)

  1. src/cmd/go/internal/gover/gover.go

    	return gover.IsLang(x)
    }
    
    // Lang returns the Go language version. For example, Lang("1.2.3") == "1.2".
    func Lang(x string) string {
    	return gover.Lang(x)
    }
    
    // IsPrerelease reports whether v denotes a Go prerelease version.
    func IsPrerelease(x string) bool {
    	return gover.Parse(x).Kind != ""
    }
    
    // Prev returns the Go major release immediately preceding v,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/gover/mod.go

    // The caller is assumed to have checked that ModIsValid(path, vers) is true.
    func ModIsPrerelease(path, vers string) bool {
    	if IsToolchain(path) {
    		return IsPrerelease(vers)
    	}
    	return semver.Prerelease(vers) != ""
    }
    
    // ModMajorMinor returns the "major.minor" truncation of the version v,
    // for use as a prefix in "@patch" queries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:18:46 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocatorTest.groovy

                    "installationPath": "${TextUtil.escapeString(localRoot.absolutePath)}/Program Files/Microsoft Visual Studio/2017/Community",
                    "installationVersion": "15.3.26730.16",
                    "isPrerelease": false,
                    "displayName": "Visual Studio Community 2017",
                    "description": "Free, fully-featured IDE for students, open-source and individual developers",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/toolchain/switch.go

    		v := list[i]
    		if gover.Compare(v, need) < 0 {
    			break
    		}
    		if gover.Lang(latest) == gover.Lang(v) {
    			continue
    		}
    		newer := latest
    		latest = v
    		if newer != "" && !gover.IsPrerelease(newer) {
    			// latest is the last patch release of Go 1.X, and we saw a non-prerelease of Go 1.(X+1),
    			// so latest is the one we want.
    			break
    		}
    	}
    	if latest == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top