MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / getCacheKey

Function getCacheKey

website/src/lib/repo-provider.ts:131–133  ·  view source on GitHub ↗
(ref: RepoRef)

Source from the content-addressed store, hash-verified

129}
130
131export function getCacheKey(ref: RepoRef): string {
132 return `${ref.provider}:${ref.fullPath.toLowerCase()}`;
133}
134
135export function getLegacyCacheKey(ref: RepoRef): string {
136 return `${ref.owner.toLowerCase()}/${ref.repo.toLowerCase()}`;

Callers 2

getCachedGraphFunction · 0.90
cacheGraphFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected