()
| 762 | } |
| 763 | |
| 764 | async function primaryNotesAtRoot(): Promise<boolean> { |
| 765 | try { |
| 766 | return (await getVaultSettings()).primaryNotesLocation === 'root' |
| 767 | } catch { |
| 768 | return false |
| 769 | } |
| 770 | } |
| 771 | |
| 772 | /** Vault-relative directory for a (folder, subpath) — mirrors the server folderRoot. */ |
| 773 | function vaultRelDir(folder: NoteFolder, subpath: string, atRoot: boolean): string { |
no test coverage detected