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): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| this | void | |
| folderPath | string | The vault-relative path of the folder. |
Returns: boolean — true if the folder is designated as an attachment unit, false otherwise.