Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
230
export
function
sameRepositoryReference(left: Reference, right: Reference) {
231
return
repositoryCacheIdentity(left) === repositoryCacheIdentity(right)
232
}
Callers
1
repository.test.ts
File · 0.90
Calls
1
repositoryCacheIdentity
Function · 0.85
Tested by
no test coverage detected