MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getLegacyCachePath

Function getLegacyCachePath

source code/utils/plugins/pluginLoader.ts:251–254  ·  view source on GitHub ↗
(pluginName: string)

Source from the content-addressed store, hash-verified

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

Callers 1

resolvePluginPathFunction · 0.85

Calls 1

getPluginCachePathFunction · 0.85

Tested by

no test coverage detected