getAttachmentFilePath
Retrieves the file path for an attachment within a note.
Import:
import { getAttachmentFilePath } from 'obsidian-dev-utils/obsidian/attachment-path';Signature:
function getAttachmentFilePath(params: GetAttachmentFilePathParams): Promise<string>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | GetAttachmentFilePathParams | Parameters for the get attachment file path function. |
Returns: Promise<string> — A Promise that resolves to the file path of the attachment.