x/mode: doc EqualFold
This commit is contained in:
parent
805a92e6f2
commit
aef832b298
@ -175,6 +175,8 @@ func (r Name) Model() string { return r.model }
|
||||
func (r Name) Tag() string { return r.tag }
|
||||
func (r Name) Build() string { return r.build }
|
||||
|
||||
// EqualFold reports whether r and o are equivalent model names, ignoring
|
||||
// case.
|
||||
func (r Name) EqualFold(o Name) bool {
|
||||
return r.MapHash() == o.MapHash()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user