Skip to content

getAvailablePathForAttachments

Retrieves the available path for attachments.

Import:

import { getAvailablePathForAttachments } from '@mnaoumov/obsidian-lib/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.