MetadataCache.updateRelatedLinks method
MetadataCache › updateRelatedLinks
Unofficial
Re-queue for link resolution every file that links to any of the changed names.Called on file create, delete, and rename. Each entry is a name, not a full path: resolved links are matched by comparing the basename of each resolved target path against the entries, and unresolved links are matched by comparing the basename of each unresolved link (also trying the entry with a trailing
.md removed). Every matching file is queued via MetadataCache.queueFileForLinkResolution. Signature:
updateRelatedLinks(fileNames: string[]): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| fileNames | string[] | The changed names (basenames, e.g. note.md or image.png). |
Returns: void