types/model: remove DisplayLong (#3587)

This commit is contained in:
Blake Mizerany 2024-04-10 16:55:12 -07:00 committed by GitHub
parent 62f8cda3b3
commit 9446b795b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -259,15 +259,6 @@ func (r Name) DisplayShortest(mask string) string {
return r.slice(PartHost, PartTag).String()
}
// DisplayLong returns the fullest possible display string in form:
//
// <namespace>/<model>:<tag>
//
// If any part is missing, it is omitted from the display string.
func (r Name) DisplayLong() string {
return r.slice(PartNamespace, PartTag).String()
}
var seps = [...]string{
PartHost: "/",
PartNamespace: "/",