demo-vault-tree
Reads a plugin’s in-repo demo-vault/ tree into a populate map so a Vitest/Jest global setup can seed it into the temp vault BEFORE Obsidian opens it. Seeding pre-launch lets Obsidian’s startup scan index every note in one pass, avoiding the file-watcher race that silently drops events under a bulk post-launch TemporaryVault.populate.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| ReadDemoVaultTreeParams | Parameters for readDemoVaultTree. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| readDemoVaultTree | Reads a demo vault directory tree recursively into a PopulateFilesParams map (vault-relative POSIX path to file bytes), skipping ReadDemoVaultTreeParams.excludedNames. |