markmv - v1.39.2
    Preparing search index...

    Function createWikilinkResolver

    • Build a resolver for wikilink targets against a known vault file set.

      The index needs only file paths -- stems and filenames -- so callers that have a file list but no parsed contents (link validation, for example) can resolve exactly like whole-vault passes.

      Parameters

      • vaultRoot: string

        Absolute path of the vault root path-qualified targets resolve against

      • filePaths: string[]

        Absolute paths of every file in the vault

      Returns (target: string) => WikilinkResolution

      A function mapping a wikilink target to its resolution