- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AddModCommonFlags (0.18 sec)
-
src/cmd/go/internal/modcmd/verify.go
non-zero status. See https://golang.org/ref/mod#go-mod-verify for more about 'go mod verify'. `, Run: runVerify, } func init() { base.AddChdirFlag(&cmdVerify.Flag) base.AddModCommonFlags(&cmdVerify.Flag) } func runVerify(ctx context.Context, cmd *base.Command, args []string) { modload.InitWorkfile() if len(args) != 0 { // NOTE(rsc): Could take a module pattern.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 16:56:35 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/tidy.go
cmdTidy.Flag.BoolVar(&tidyE, "e", false, "") cmdTidy.Flag.BoolVar(&tidyDiff, "diff", false, "") cmdTidy.Flag.Var(&tidyGo, "go", "") cmdTidy.Flag.Var(&tidyCompat, "compat", "") base.AddChdirFlag(&cmdTidy.Flag) base.AddModCommonFlags(&cmdTidy.Flag) } // A goVersionFlag is a flag.Value representing a supported Go version. // // (Note that the -go argument to 'go mod edit' is *not* a goVersionFlag.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 5K bytes - Viewed (0)