Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
9446b795
Unverified
Commit
9446b795
authored
Apr 10, 2024
by
Blake Mizerany
Committed by
GitHub
Apr 10, 2024
Browse files
types/model: remove DisplayLong (#3587)
parent
62f8cda3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
types/model/name.go
types/model/name.go
+0
-9
No files found.
types/model/name.go
View file @
9446b795
...
...
@@ -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
:
"/"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment