Просмотр исходного кода

x/model: remove vestigial DisplayFullest

Blake Mizerany 1 год назад
Родитель
Сommit
e4d65d5aef
1 измененных файлов с 0 добавлено и 13 удалено
  1. 0 13
      x/model/name.go

+ 0 - 13
x/model/name.go

@@ -241,19 +241,6 @@ func (r Name) DisplayLong() string {
 	}).String()
 }
 
-// DisplayFullest returns the fullest display string of the Name including
-// host, namespace, model, tag.
-//
-// It does not include the build.
-func (r Name) DisplayFullest() string {
-	return (Name{
-		host:      r.host,
-		namespace: r.namespace,
-		model:     r.model,
-		tag:       r.tag,
-	}).String()
-}
-
 // String returns the fullest string respresentation of the Name.
 //
 // It includes the build, if any. For a string representation without the