()
| 84 | * Get the path to installed_plugins.json in the zip cache. |
| 85 | */ |
| 86 | export function getZipCacheInstalledPluginsPath(): string { |
| 87 | const cachePath = getPluginZipCachePath() |
| 88 | if (!cachePath) { |
| 89 | throw new Error('Plugin zip cache is not enabled') |
| 90 | } |
| 91 | return join(cachePath, 'installed_plugins.json') |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Get the marketplaces directory within the zip cache. |
nothing calls this directly
no test coverage detected