Skip to content

QueryController.updateCurrentFile method

QueryController › updateCurrentFile

Unofficial

Updates the current file and re-runs the query if needed.

Signature:

updateCurrentFile(file: TFile | null): void

Parameters:

ParameterTypeDescription
fileTFile | nullThe new current file, or null to clear it.

Returns: void