File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/cmd/go/internal/modload Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ type retraction struct {
345
345
346
346
// goModSummary returns a summary of the go.mod file for module m,
347
347
// taking into account any replacements for m, exclusions of its dependencies,
348
- // and or vendoring.
348
+ // and/ or vendoring.
349
349
//
350
350
// goModSummary cannot be used on the Target module, as its requirements
351
351
// may change.
@@ -405,7 +405,7 @@ func goModSummary(m module.Version) (*modFileSummary, error) {
405
405
return cached {nil , module .VersionError (actual , errors .New ("parsing go.mod: missing module line" ))}
406
406
}
407
407
408
- // In theory we should only allow mpath to be unequal to mod .Path here if the
408
+ // In theory we should only allow mpath to be unequal to m .Path here if the
409
409
// version that we fetched lacks an explicit go.mod file: if the go.mod file
410
410
// is explicit, then it should match exactly (to ensure that imports of other
411
411
// packages within the module are interpreted correctly). Unfortunately, we
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import (
14
14
15
15
"cmd/go/internal/modfetch"
16
16
"cmd/go/internal/mvs"
17
- "cmd/go/internal/par"
18
17
19
18
"golang.org/x/mod/module"
20
19
"golang.org/x/mod/semver"
@@ -24,7 +23,6 @@ import (
24
23
// with any exclusions or replacements applied internally.
25
24
type mvsReqs struct {
26
25
buildList []module.Version
27
- cache par.Cache // module.Version → Required method results
28
26
}
29
27
30
28
// Reqs returns the current module requirement graph.
You can’t perform that action at this time.
0 commit comments