obsidian/Vault
Mock of Obsidian’s Vault, which tracks the vault’s file tree over a data adapter, usually the in-memory one.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| Vault | Mock of Obsidian’s Vault. File operations go through Vault.adapter; the vault keeps a path-keyed tree of TFile / TFolder objects in Vault.fileMap in step with them and fires create, modify, delete and rename events. Dot-prefixed paths such as the config folder are never tracked. The __ helpers add synchronous access and re-syncing, and work only over an InMemoryAdapter. |