- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for modFileIsDirty (0.33 sec)
-
src/cmd/go/internal/modload/init.go
if err != nil { if errors.Is(err, errNoChange) { return nil } return err } index := MainModules.GetSingleIndexOrNil() dirty := index.modFileIsDirty(modFile) if dirty && cfg.BuildMod != "mod" { // If we're about to fail due to -mod=readonly, // prefer to report a dirty go.mod over a dirty go.sum return errGoModDirty }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:36:30 UTC 2024 - 69.8K bytes - Viewed (0)