markmv - v1.39.2
    Preparing search index...

    Function planLinkFixes

    • Plan fixes for the broken internal links in a validation result.

      Only internal file-not-found links are fixable this way -- an external or anchor failure has no file to suggest. Broken links whose target resembles nothing known are left out rather than given a wild guess.

      Parameters

      • result: ValidateResult

        A completed validation result

      • knownFiles: string[]

        Absolute paths of every candidate file in the project

      Returns PlannedLinkFix[]

      One planned fix per broken internal link that has suggestions