mirror of
https://github.com/ollama/ollama.git
synced 2025-04-07 03:18:24 +02:00
types/model: remove DisplayLong (#3587)
This commit is contained in:
parent
62f8cda3b3
commit
9446b795b5
@ -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: "/",
|
||||
|
Loading…
x
Reference in New Issue
Block a user