Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zoo-Code-Org/Zoo-Code
/ hasToken
Function
hasToken
apps/cli/src/lib/storage/credentials.ts:65–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
63
}
64
65
export
async
function
hasToken(): Promise<boolean> {
66
const
token =
await
loadToken()
67
return
token !== null
68
}
69
70
export
function
getCredentialsPath(): string {
71
return
CREDENTIALS_FILE
Callers
2
logout
Function · 0.85
credentials.test.ts
File · 0.85
Calls
1
loadToken
Function · 0.85
Tested by
no test coverage detected