(pluginId: string)
| 117 | * and their sync iteration loops. One mkdir in plugin-load path is cheap. |
| 118 | */ |
| 119 | export function getPluginDataDir(pluginId: string): string { |
| 120 | const dir = pluginDataDirPath(pluginId) |
| 121 | mkdirSync(dir, { recursive: true }) |
| 122 | return dir |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Size of the data dir for the uninstall confirmation prompt. Returns null |
no test coverage detected