Skip to content

obsidian/attachment-path

Provides utility functions for working with attachment paths.

InterfaceDescription
GetAttachmentFilePathParamsOptions for the getAttachmentFilePath function.
GetAttachmentFolderPathParamsParameters for getAttachmentFolderPath.
GetAvailablePathForAttachmentsExtendedFnParamsOptions for the get available path for attachments extended function.
GetAvailablePathForAttachmentsFnExtendedVault.getAvailablePathForAttachments extended wrapper.
GetAvailablePathForAttachmentsParamsOptions for the getAvailablePathForAttachments function.
HasOwnAttachmentFolderParamsParameters for hasOwnAttachmentFolder.
FunctionDescription
getAttachmentFilePathRetrieves the file path for an attachment within a note.
getAttachmentFolderPathRetrieves the attachment folder path for a given note.
getAvailablePathForAttachmentsRetrieves the available path for attachments.
hasOwnAttachmentFolderChecks if a note has its own attachment folder.
EnumDescription
AttachmentPathContextA context for an attachment path.
VariableDescription
DUMMY_PATHDummy path.