ObsidianTransport.registerVault method
ObsidianTransport › registerVault
Registers a vault path so Obsidian can target it.On desktop: uses Electron IPC to open the vault and polls for readiness. On mobile: pushes vault files to the device and restarts the app.
Signature:
registerVault(vaultPath: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| vaultPath | string | The absolute path to the vault folder. |