MCPcopy
hub / github.com/codeaashu/claude-code / getPluginSeedDirs

Function getPluginSeedDirs

src/utils/plugins/pluginDirectories.ts:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 * @returns Absolute paths to seed dirs in precedence order (empty if unset)
84 */
85export function getPluginSeedDirs(): string[] {
86 // Same tilde-expansion rationale as getPluginsDirectory (gh-30794).
87 const raw = process.env.CLAUDE_CODE_PLUGIN_SEED_DIR
88 if (!raw) return []
89 return raw.split(delimiter).filter(Boolean).map(expandTilde)
90}
91
92function sanitizePluginId(pluginId: string): string {
93 // Same character class as the install-cache sanitizer (pluginLoader.ts)

Callers 5

logSessionTelemetryFunction · 0.85
probeSeedCacheFunction · 0.85
probeSeedCacheAnyVersionFunction · 0.85
registerSeedMarketplacesFunction · 0.85
seedDirForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected