Code
Hub
Trending
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ useShareUrl
Function
useShareUrl
github/index.ts:365–367 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
363
}
364
365
function
useShareUrl() {
366
return
isMock() ?
"https://dev.opencode.ai"
:
"https://opencode.ai"
367
}
368
369
async
function
getAccessToken() {
370
const
{ repo } = useContext()
Callers
2
index.ts
File · 0.85
footer
Function · 0.85
Calls
1
isMock
Function · 0.85
Tested by
no test coverage detected