Skip to content

PathMapping

The part of a missing path that a candidate replaced: what a “fix all like this” applies to every other link.

Import:

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

Signature:

export interface PathMapping

Properties

PropertyTypeDescription
newPrefixstringThe part of the candidate path that replaced oldPrefix; '' for the vault root.
oldPrefixstringThe leading part of the missing path that no longer exists; '' for the vault root.

Links to this page: