Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudfoundry/credhub-cli
/ TokenIsPresent
Function
TokenIsPresent
util/token.go:3–5 ·
view source on GitHub ↗
(token string)
Source
from the content-addressed store, hash-verified
1
package
util
2
3
func
TokenIsPresent(token string) bool {
4
return
token !=
""
&& token !=
"revoked"
5
}
Callers
3
RevokeTokenIfNecessary
Function · 0.92
init
Function · 0.92
ReadConfig
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…