From 9446b795b58e32c8b248a76707780f4f96b6434f Mon Sep 17 00:00:00 2001 From: Blake Mizerany Date: Wed, 10 Apr 2024 16:55:12 -0700 Subject: [PATCH] types/model: remove DisplayLong (#3587) --- types/model/name.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/types/model/name.go b/types/model/name.go index 3def95bf..c7822f08 100644 --- a/types/model/name.go +++ b/types/model/name.go @@ -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: -// -// /: -// -// 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: "/",