Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EditBuildList (0.38 sec)

  1. src/cmd/go/internal/modload/buildlist.go

    // the listed modules requiring a higher version of another), EditBuildList
    // returns a *ConstraintError and leaves the build list in its previous state.
    //
    // On success, EditBuildList reports whether the selected version of any module
    // in the build list may have been changed (possibly to or from "none") as a
    // result.
    func EditBuildList(ctx context.Context, add, mustSelect []module.Version) (changed bool, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modget/get.go

    		// A TooNewError can happen for 'go get go@newversion'
    		// when all the required modules are old enough
    		// but the command line is not.
    		// TODO(bcmills): modload.EditBuildList should catch this instead,
    		// and then this can be changed to base.Fatal(err).
    		toolchain.SwitchOrFatal(ctx, err)
    	}
    
    	newReqs := reqsFromGoMod(modload.ModFile())
    	r.reportChanges(oldReqs, newReqs)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top