Skip to content

BuildBacklinksSnapshotParams.pathRemapper method

BuildBacklinksSnapshotParams › pathRemapper

Rewrites the path of a backlink-holding note as it will be **after** the operation.

A note that holds a backlink can itself be renamed or moved by the same operation — including the renamed note's own self-links. Remapping here keys the snapshot by the path the rewrite will actually open.

Signature:

pathRemapper(this: void, backlinkPath: string): string

Parameters:

ParameterTypeDescription
thisvoid
backlinkPathstring

Returns: string