Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UncachedCwd (0.14 sec)

  1. src/cmd/go/internal/toolchain/select.go

    // and returns the go version and toolchain lines from the file.
    // The toolchain line overrides the version line
    func modGoToolchain() (file, goVers, toolchain string) {
    	wd := base.UncachedCwd()
    	file = modload.FindGoWork(wd)
    	// $GOWORK can be set to a file that does not yet exist, if we are running 'go work init'.
    	// Do not try to load the file in that case
    	if _, err := os.Stat(file); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top