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

Function getLegacyCachePath

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

Source from the content-addressed store, hash-verified

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

Callers 1

resolvePluginPathFunction · 0.85

Calls 1

getPluginCachePathFunction · 0.85

Tested by

no test coverage detected