MCPcopy 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
164function withSlash(input: string) {
165 return input.endsWith("/") ? input : `${input}/`
166}
167
168function githubRemote(pathname: string) {
169 const base = process.env.OPENCODE_REPO_CLONE_GITHUB_BASE_URL

Callers 1

githubRemoteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected