Skip to content

MisplacedAttachmentIndex.markHomed method

MisplacedAttachmentIndex › markHomed

Records that an attachment sits in the folder configured for a note that references it, which makes that note its proper note.

Signature:

markHomed(attachmentPath: string, notePath: string): void

Parameters:

ParameterTypeDescription
attachmentPathstringThe attachment's vault-relative path.
notePathstringThe referencing note whose folder holds it.

Returns: void