Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ withSlash
Function
withSlash
packages/core/src/repository.ts:164–166 ·
view source on GitHub ↗
(input: string)
Source
from the content-addressed store, hash-verified
162
}
163
164
function
withSlash(input: string) {
165
return
input.endsWith(
"/"
) ? input : `${input}/`
166
}
167
168
function
githubRemote(pathname: string) {
169
const
base = process.env.OPENCODE_REPO_CLONE_GITHUB_BASE_URL
Callers
1
githubRemote
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected