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

Function getJsdelivrMetaUrl

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

Source from the content-addressed store, hash-verified

234}
235
236export function getJsdelivrMetaUrl(ref: RepoRef, branch: string): string | null {
237 if (ref.provider !== "github") return null;
238 return `https://data.jsdelivr.net/v1/packages/gh/${ref.owner}/${ref.repo}@${branch}`;
239}
240
241export function getRawFileUrl(ref: RepoRef, branch: string, filePath: string): string {
242 if (ref.provider === "gitlab") {

Callers 2

listRepositoryFilesFunction · 0.85
estimateZipSizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected