Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ useEnvGithubToken
Function
useEnvGithubToken
github/index.ts:341–343 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
339
}
340
341
function
useEnvGithubToken() {
342
return
process.env[
"TOKEN"
]
343
}
344
345
function
isMock() {
346
const
{ mockEvent, mockToken } = useEnvMock()
Callers
2
getAccessToken
Function · 0.85
assertPermissions
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected