MCPcopy Create free account
hub / github.com/github/copilot-sdk / getPlugin

Function getPlugin

nodejs/test/e2e/rpc_server_plugins.e2e.test.ts:311–319  ·  view source on GitHub ↗
(list: {
        plugins: Array<{ name: string; marketplace: string; enabled: boolean }>;
    })

Source from the content-addressed store, hash-verified

309 });
310
311 function getPlugin(list: {
312 plugins: Array<{ name: string; marketplace: string; enabled: boolean }>;
313 }) {
314 const plugins = list.plugins.filter(
315 (plugin) => plugin.name === PLUGIN_NAME && plugin.marketplace === MARKETPLACE_NAME
316 );
317 expect(plugins).toHaveLength(1);
318 return plugins[0];
319 }
320});

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…