Преглед на файлове

x/model: mention Name.String in Name.DisplayFullest comment

Blake Mizerany преди 1 година
родител
ревизия
e201627c63
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      x/model/name.go

+ 3 - 0
x/model/name.go

@@ -196,6 +196,9 @@ func (r Name) DisplayModel() string {
 //	<host>/<namespace>/<model>:<tag>
 //	<host>/<namespace>/<model>:<tag>
 //
 //
 // If any part is missing, it is omitted from the display string.
 // If any part is missing, it is omitted from the display string.
+//
+// It does not include the build part. For the fullest possible display
+// string with the build, use [Name.String].
 func (r Name) DisplayFullest() string {
 func (r Name) DisplayFullest() string {
 	return (Name{
 	return (Name{
 		host:      r.host,
 		host:      r.host,