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