- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for editRequirements (0.27 sec)
-
src/cmd/go/internal/modload/edit.go
// of rs, unless the selected version for the module path is "none". func editRequirements(ctx context.Context, rs *Requirements, tryUpgrade, mustSelect []module.Version) (edited *Requirements, changed bool, err error) { if rs.pruning == workspace { panic("editRequirements cannot edit workspace requirements") } orig := rs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 21:46:32 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
// 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) { rs, changed, err := editRequirements(ctx, LoadModFile(ctx), add, mustSelect) if err != nil { return false, err } requirements = rs return changed, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0)