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 8468337 commit 4264bd4Copy full SHA for 4264bd4
targets/targets_def.go
@@ -110,6 +110,10 @@ func (r *VersionRef) UnmarshalText(text []byte) error {
110
return nil
111
}
112
113
+func (r VersionRef) MarshalText() ([]byte, error) {
114
+ return []byte(r.String()), nil
115
+}
116
+
117
func (opts OptionFlags) HasOptionValue(name, value string) bool {
118
if opt, ok := opts[name]; ok {
119
return slices.Contains(opt.Values, value)
0 commit comments