Skip to content

MisplacedAttachmentIndex.getProperNotePaths method

MisplacedAttachmentIndex › getProperNotePaths

The proper notes of an attachment: the notes that reference it and whose own folder holds it, in walk order.

Signature:

getProperNotePaths(attachmentPath: string): string[]

Parameters:

ParameterTypeDescription
attachmentPathstringThe attachment's vault-relative path.

Returns: string[] — The proper notes' paths, empty when the attachment has none.