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

Function getZipProxyUrl

website/src/lib/repo-provider.ts:211–216  ·  view source on GitHub ↗
(ref: RepoRef, branch: string)

Source from the content-addressed store, hash-verified

209}
210
211export function getZipProxyUrl(ref: RepoRef, branch: string): string {
212 if (ref.provider === "gitlab") {
213 return `/api/gitlab-zip/${encodeURIComponent(ref.fullPath)}/${branch}`;
214 }
215 return `/api/github-zip/${ref.owner}/${ref.repo}/${branch}`;
216}
217
218export function getPublicZipUrl(ref: RepoRef, branch: string): string {
219 if (ref.provider === "gitlab") {

Callers 1

fetchRepositoryFilesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected