Skip to content

obsidian/MetadataCache

Mock of Obsidian’s MetadataCache, which indexes each note’s links, headings, tags and frontmatter.

Class Description
MetadataCache Mock of Obsidian’s MetadataCache. It indexes Markdown files synchronously whenever the vault fires create or modify: the content is parsed by the mock’s own Markdown parser, the link graph is rebuilt for that file and changed is triggered. It fires no deleted, resolve or resolved events, and does not react to renames or deletions.