Skip to content

getAttachmentFolderPath

Retrieves the attachment folder path for a given note.

Import:

import { getAttachmentFolderPath } from 'obsidian-dev-utils/obsidian/attachment-path';

Signature:

function getAttachmentFolderPath(params: GetAttachmentFolderPathParams): Promise<string>

Parameters:

ParameterTypeDescription
paramsGetAttachmentFolderPathParamsParameters for the get attachment folder path function.

Returns: Promise<string> — A Promise that resolves to the attachment folder path.


Links to this page: