MCPcopy Index your code
hub / github.com/codeaashu/claude-code / parsePluginIdentifier

Function parsePluginIdentifier

src/utils/plugins/pluginIdentifier.ts:51–57  ·  view source on GitHub ↗
(plugin: string)

Source from the content-addressed store, hash-verified

49 * This is intentional as marketplace names should not contain '@'.
50 */
51export function parsePluginIdentifier(plugin: string): ParsedPluginIdentifier {
52 if (plugin.includes('@')) {
53 const parts = plugin.split('@')
54 return { name: parts[0] || '', marketplace: parts[1] }
55 }
56 return { name: plugin }
57}
58
59/**
60 * Build a plugin ID from name and marketplace

Callers 15

executeForkedSkillFunction · 0.85
callFunction · 0.85
logPluginLoadErrorsFunction · 0.85
processSlashCommandFunction · 0.85
getVersionedCachePathInFunction · 0.85
resolvePluginPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected