(root: string)
| 1113 | * root" banner so an empty-looking vault is explained instead of silent. |
| 1114 | */ |
| 1115 | export async function rootContentHiddenByInboxMode(root: string): Promise<boolean> { |
| 1116 | const settings = await getVaultSettings(root) |
| 1117 | if (settings.primaryNotesLocation !== 'inbox') return false |
| 1118 | return (await inferPrimaryNotesLocation(root)) === 'root' |
| 1119 | } |
| 1120 | |
| 1121 | async function vaultLooksEmpty(root: string): Promise<boolean> { |
| 1122 | let entries: Dirent[] |
no test coverage detected