(globalStoragePath: string)
| 61 | * Gets the settings directory path |
| 62 | */ |
| 63 | export async function getSettingsDirectoryPath(globalStoragePath: string): Promise<string> { |
| 64 | const basePath = await getStorageBasePath(globalStoragePath) |
| 65 | const settingsDir = path.join(basePath, "settings") |
| 66 | await fs.mkdir(settingsDir, { recursive: true }) |
| 67 | return settingsDir |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * Gets the cache directory path |
no test coverage detected