Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloudfoundry/cli
/ comparableString
Method
comparableString
cf/flags/flags_usage.go:58–64 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
56
}
57
58
func
(p *flagPresenter) comparableString() string {
59
if
p.flagSet.GetName() !=
""
{
60
return
p.flagSet.GetName()
61
}
62
63
return
p.flagSet.GetShortName()
64
}
65
66
type
flags []flagPresenter
67
Callers
1
Less
Method · 0.80
Calls
2
GetName
Method · 0.65
GetShortName
Method · 0.65
Tested by
no test coverage detected