Skip to content

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:

ParameterTypeDescription
paramsGetAvailablePathForAttachmentsParamsParameters for the get available path for attachments function.

Returns: Promise<string> — A Promise that resolves to the available path for attachments.