()
| 95 | * Get the marketplaces directory within the zip cache. |
| 96 | */ |
| 97 | export function getZipCacheMarketplacesDir(): string { |
| 98 | const cachePath = getPluginZipCachePath() |
| 99 | if (!cachePath) { |
| 100 | throw new Error('Plugin zip cache is not enabled') |
| 101 | } |
| 102 | return join(cachePath, 'marketplaces') |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * Get the plugins directory within the zip cache. |
no test coverage detected