MCPcopy
hub / github.com/EveryInc/compound-engineering-plugin / resolveBundledPluginPath

Function resolveBundledPluginPath

src/commands/install.ts:276–279  ·  view source on GitHub ↗
(pluginName: string)

Source from the content-addressed store, hash-verified

274}
275
276async function resolveBundledPluginPath(pluginName: string): Promise<string | null> {
277 const repoRoot = fileURLToPath(new URL("../..", import.meta.url))
278 return await resolvePluginRoot(repoRoot, pluginName)
279}
280
281async function resolveGitHubPluginPath(pluginName: string, branch?: string): Promise<ResolvedPluginPath> {
282 const tempRoot = await fs.mkdtemp(path.join(os.tmpdir(), "compound-plugin-"))

Callers 1

resolvePluginPathFunction · 0.85

Calls 1

resolvePluginRootFunction · 0.70

Tested by

no test coverage detected