()
| 214 | } |
| 215 | |
| 216 | export async function readVaultRootFromConfig(): Promise<string | null> { |
| 217 | const parsed = await readConfigFile() |
| 218 | const vaultRoot = parsed?.vaultRoot |
| 219 | return typeof vaultRoot === 'string' && vaultRoot.trim() ? vaultRoot : null |
| 220 | } |
| 221 | |
| 222 | export interface KnownVault { |
| 223 | root: string |
no test coverage detected