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

Function getLegacyCacheKey

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

Source from the content-addressed store, hash-verified

133}
134
135export function getLegacyCacheKey(ref: RepoRef): string {
136 return `${ref.owner.toLowerCase()}/${ref.repo.toLowerCase()}`;
137}
138
139export function getAuthTokenKey(ref: RepoRef): string {
140 return ref.provider === "gitlab" ? "gitlab_pat" : "github_pat";

Callers 1

getCachedGraphFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected