Skip to content

LinkUpdater.applyUpdates method

LinkUpdater › applyUpdates

Unofficial

Apply a batch of link change updates to the given file.

Signature:

applyUpdates(file: TFile, updates: LinkChangeUpdate[]): Promise<void>

Parameters:

ParameterTypeDescription
fileTFileFile to update.
updatesLinkChangeUpdate[]Link change updates to apply.

Returns: Promise<void>A promise that resolves when the updates have been applied.