Skip to content

BrokenLinkCandidateFinder

Finds the candidates for missing link targets, from one snapshot of the vault.

Import:

import { BrokenLinkCandidateFinder } from '@mnaoumov/obsidian-lib/broken-link-candidates';

Signature:

export class BrokenLinkCandidateFinder

Constructor

new BrokenLinkCandidateFinder(params: BrokenLinkCandidateFinderConstructorParams)

Indexes the vault snapshot.

Methods

MethodReturnsDescription
findAll(missingPaths)Map<string, BrokenLinkCandidate[]>Finds the candidates for every missing path at once.

All at once because one kind of evidence is collective: a renamed folder is recognized by every missing target that was under it turning up together under one sibling folder.

Links to this page: