Skip to content

GetAvailablePathForAttachmentsFunctionExtended.checkIsAttachmentUnitFolder method

GetAvailablePathForAttachmentsFunctionExtended › checkIsAttachmentUnitFolder

Whether a folder path is designated as an attachment unit — a folder that must travel whole rather than have the linked file relocated out of it.

Optional: an attachment-location plugin may own the resolution without designating anything, and an absent member is the same "nobody owns this policy" answer GetAvailablePathForAttachmentsFunctionExtended.extended itself gives.

Signature:

checkIsAttachmentUnitFolder(this: void, folderPath: string): boolean

Parameters:

ParameterTypeDescription
thisvoid
folderPathstringThe vault-relative path of the folder.

Returns: booleantrue if the folder is designated as an attachment unit, false otherwise.