MCPcopy Create free account
hub / github.com/anomalyco/opencode / sameRepositoryReference

Function sameRepositoryReference

packages/opencode/src/util/repository.ts:230–232  ·  view source on GitHub ↗
(left: Reference, right: Reference)

Source from the content-addressed store, hash-verified

228}
229
230export function sameRepositoryReference(left: Reference, right: Reference) {
231 return repositoryCacheIdentity(left) === repositoryCacheIdentity(right)
232}

Callers 1

repository.test.tsFile · 0.90

Calls 1

repositoryCacheIdentityFunction · 0.85

Tested by

no test coverage detected