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

Function getPluginItemLabel

website/src/scripts/pages/plugins.ts:112–115  ·  view source on GitHub ↗
(item: PluginItem)

Source from the content-addressed store, hash-verified

110}
111
112function getPluginItemLabel(item: PluginItem): string {
113 const normalizedPath = item.path.replace(/^\.\//, '');
114 return `${item.kind}: ${normalizedPath}`;
115}
116
117function openPluginDetailsModal(path: string, trigger?: HTMLElement): void {
118 const item = pluginByPath.get(path);

Callers 1

openPluginDetailsModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected