MCPcopy Index your code
hub / github.com/anomalyco/opencode / repositoryCachePath

Function repositoryCachePath

packages/opencode/src/util/repository.ts:222–224  ·  view source on GitHub ↗
(input: Reference)

Source from the content-addressed store, hash-verified

220}
221
222export function repositoryCachePath(input: Reference) {
223 return path.join(Global.Path.repos, ...input.host.split(":"), ...input.segments)
224}
225
226export function repositoryCacheIdentity(input: Reference) {
227 return `${input.host}/${input.path}`

Callers 1

repository.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected