Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cloudfoundry/cli
/ contains
Function
contains
command/v7/login_command.go:602–609 ·
view source on GitHub ↗
(s []string, v string)
Source
from the content-addressed store, hash-verified
600
}
601
602
func
contains(s []string, v string) bool {
603
for
_, x :=
range
s {
604
if
x == v {
605
return
true
606
}
607
}
608
return
false
609
}
Callers
1
promptMenu
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected