We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3b65c commit 5bb19e3Copy full SHA for 5bb19e3
src/cmd/go/internal/module/module.go
@@ -33,11 +33,13 @@ type Version struct {
33
Path string
34
35
// Version is usually a semantic version in canonical form.
36
- // There are two exceptions to this general rule.
+ // There are three exceptions to this general rule.
37
// First, the top-level target of a build has no specific version
38
// and uses Version = "".
39
// Second, during MVS calculations the version "none" is used
40
// to represent the decision to take no version of a given module.
41
+ // Third, filesystem paths found in "replace" directives are
42
+ // represented by a path with an empty version.
43
Version string `json:",omitempty"`
44
}
45
0 commit comments