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

Function getGitHubUrl

website/src/scripts/utils.ts:201–203  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

199 * Get GitHub URL for a file
200 */
201export function getGitHubUrl(filePath: string): string {
202 return `${REPO_GITHUB_URL}/${filePath}`;
203}
204
205/**
206 * Get raw GitHub URL for a file (for fetching content)

Callers 9

renderInstructionsHtmlFunction · 0.90
getSourceUrlFunction · 0.90
renderAgentsHtmlFunction · 0.90
renderHooksHtmlFunction · 0.90
renderSkillsHtmlFunction · 0.90
renderExtensionsHtmlFunction · 0.90
renderPluginsHtmlFunction · 0.90
renderWorkflowsHtmlFunction · 0.90
getPluginRepositoryUrlFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected