MCPcopy Index your code
hub / github.com/github/awesome-copilot / getInstallUrl

Function getInstallUrl

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

Source from the content-addressed store, hash-verified

67}
68
69function getInstallUrl(item: Extension): string {
70 return (
71 item.installUrl ||
72 (item.path && item.ref
73 ? `https://github.com/github/awesome-copilot/tree/${item.ref}/${item.path.replace(
74 /\\/g,
75 "/"
76 )}`
77 : "")
78 );
79}
80
81function getSourceUrl(item: Extension): string {
82 return item.sourceUrl || (item.path ? getGitHubUrl(item.path) : "");

Callers 1

openDetailsModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected