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

Function getPluginZipCachePath

source code/utils/plugins/zipCache.ts:66–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 * Returns undefined if zip cache is not enabled.
65 */
66export function getPluginZipCachePath(): string | undefined {
67 if (!isPluginZipCacheEnabled()) {
68 return undefined
69 }
70 const dir = process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR
71 return dir ? expandTilde(dir) : undefined
72}
73
74/**
75 * 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