MCPcopy
hub / github.com/github/awesome-copilot / getSourceUrl

Function getSourceUrl

website/src/scripts/pages/extensions.ts:81–83  ·  view source on GitHub ↗
(item: Extension)

Source from the content-addressed store, hash-verified

79}
80
81function getSourceUrl(item: Extension): string {
82 return item.sourceUrl || (item.path ? getGitHubUrl(item.path) : "");
83}
84
85function toRawAssetUrl(item: Extension, assetPath: string | null | undefined): string {
86 if (!assetPath || !item.ref) return "";

Callers 1

openDetailsModalFunction · 0.85

Calls 1

getGitHubUrlFunction · 0.90

Tested by

no test coverage detected