Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NeedSwitch (0.07 sec)

  1. src/cmd/go/internal/modcmd/download.go

    	// toolchain version) or only one module (as is used by the Go Module Proxy).
    
    	if infosErr != nil {
    		var sw toolchain.Switcher
    		sw.Error(infosErr)
    		if sw.NeedSwitch() {
    			sw.Switch(ctx)
    		}
    		// Otherwise, wait to report infosErr after we have downloaded
    		// when we can.
    	}
    
    	if !haveExplicitArgs && modload.WorkFilePath() == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top