()
| 64 | * Returns undefined if zip cache is not enabled. |
| 65 | */ |
| 66 | export 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. |
no test coverage detected