Skip to content

MisplacedAttachmentIndex.addUser method

MisplacedAttachmentIndex › addUser

Records that a note references an attachment, wherever the attachment sits.

Signature:

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

Parameters:

ParameterTypeDescription
attachmentPathstringThe attachment's vault-relative path.
notePathstringThe referencing note's vault-relative path.

Returns: void