Skip to content

reloadCurrentFileCache

Reloads the current file cache using the Dataview API.

Import:

import { reloadCurrentFileCache } from 'obsidian-dev-utils/obsidian/dataview';

Signature:

function reloadCurrentFileCache(dv: DataviewInlineApi): Promise<void>

Parameters:

ParameterTypeDescription
dvDataviewInlineApiThe DataviewInlineApi instance.

Returns: Promise<void> — A Promise that resolves when the cache is reloaded.