obsidian/attachment-path
Provides utility functions for working with attachment paths.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| GetAttachmentFilePathParams | Options for the getAttachmentFilePath function. |
| GetAttachmentFolderPathParams | Parameters for getAttachmentFolderPath. |
| GetAvailablePathForAttachmentsExtendedFnParams | Options for the get available path for attachments extended function. |
| GetAvailablePathForAttachmentsFnExtended | Vault.getAvailablePathForAttachments extended wrapper. |
| GetAvailablePathForAttachmentsParams | Options for the getAvailablePathForAttachments function. |
| HasOwnAttachmentFolderParams | Parameters for hasOwnAttachmentFolder. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| getAttachmentFilePath | Retrieves the file path for an attachment within a note. |
| getAttachmentFolderPath | Retrieves the attachment folder path for a given note. |
| getAvailablePathForAttachments | Retrieves the available path for attachments. |
| hasOwnAttachmentFolder | Checks if a note has its own attachment folder. |
| Enum | Description |
|---|---|
| AttachmentPathContext | A context for an attachment path. |
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| DUMMY_PATH | Dummy path. |