getAvailablePathForAttachments
Retrieves the available path for attachments.
Import:
import { getAvailablePathForAttachments } from 'obsidian-dev-utils/obsidian/attachment-path';Signature:
function getAvailablePathForAttachments(params: GetAvailablePathForAttachmentsParams): Promise<string>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | GetAvailablePathForAttachmentsParams | Parameters for the get available path for attachments function. |
Returns: Promise<string> — A Promise that resolves to the available path for attachments.