MCPcopy
hub / github.com/claude-code-best/claude-code / getLegacyCachePath

Function getLegacyCachePath

src/utils/plugins/pluginLoader.ts:250–253  ·  view source on GitHub ↗
(pluginName: string)

Source from the content-addressed store, hash-verified

248 * @returns Absolute path to legacy plugin directory
249 */
250export function getLegacyCachePath(pluginName: string): string {
251 const cachePath = getPluginCachePath()
252 return join(cachePath, pluginName.replace(/[^a-zA-Z0-9\-_]/g, '-'))
253}
254
255/**
256 * Resolve plugin path with fallback to legacy location.

Callers 1

resolvePluginPathFunction · 0.85

Calls 1

getPluginCachePathFunction · 0.85

Tested by

no test coverage detected