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

Function getPluginZipCachePath

src/utils/plugins/zipCache.ts:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 * Returns undefined if zip cache is not enabled.
63 */
64export function getPluginZipCachePath(): string | undefined {
65 if (!isPluginZipCacheEnabled()) {
66 return undefined
67 }
68 const dir = process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR
69 return dir ? expandTilde(dir) : undefined
70}
71
72/**
73 * Get the path to known_marketplaces.json in the zip cache.

Calls 2

isPluginZipCacheEnabledFunction · 0.85
expandTildeFunction · 0.50

Tested by

no test coverage detected