- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tidyGoSum (0.27 sec)
-
src/cmd/go/internal/modfetch/fetch.go
} err := lockedfile.Transform(GoSumFile, func(data []byte) ([]byte, error) { tidyGoSum := tidyGoSum(data, keep) return tidyGoSum, nil }) if err != nil { return fmt.Errorf("updating go.sum: %w", err) } goSum.status = make(map[modSum]modSumStatus) goSum.overwrite = false return nil } // TidyGoSum returns a tidy version of the go.sum file. // A missing go.sum file is treated as if empty.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
if gover.Compare(compatVersion, "1.16") > 0 { keep = keepSums(ctx, loaded, requirements, addBuildListZipSums) } currentGoSum, tidyGoSum := modfetch.TidyGoSum(keep) goSumDiff := diff.Diff("current/go.sum", currentGoSum, "tidy/go.sum", tidyGoSum) if len(goModDiff) > 0 { fmt.Println(string(goModDiff)) base.SetExitStatus(1) } if len(goSumDiff) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0)