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

Function getPluginRepositoryUrl

website/src/scripts/pages/plugins.ts:105–110  ·  view source on GitHub ↗
(item: Plugin)

Source from the content-addressed store, hash-verified

103}
104
105function getPluginRepositoryUrl(item: Plugin): string {
106 if (item.external && item.repository) return item.repository;
107 if (item.homepage) return item.homepage;
108 if (item.repository) return item.repository;
109 return getGitHubUrl(item.path);
110}
111
112function getPluginItemLabel(item: PluginItem): string {
113 const normalizedPath = item.path.replace(/^\.\//, '');

Callers 1

openPluginDetailsModalFunction · 0.85

Calls 1

getGitHubUrlFunction · 0.90

Tested by

no test coverage detected