()
| 106 | * Get the plugins directory within the zip cache. |
| 107 | */ |
| 108 | export function getZipCachePluginsDir(): string { |
| 109 | const cachePath = getPluginZipCachePath() |
| 110 | if (!cachePath) { |
| 111 | throw new Error('Plugin zip cache is not enabled') |
| 112 | } |
| 113 | return join(cachePath, 'plugins') |
| 114 | } |
| 115 | |
| 116 | // Session plugin cache: a temp directory on local disk (NOT in the mounted zip cache) |
| 117 | // that holds extracted plugins for the duration of the session. |
no test coverage detected