Skip to content

getAttachmentFolderPath

Retrieves the attachment folder path for a given note.

Import:

import { getAttachmentFolderPath } from '@mnaoumov/obsidian-lib/attachment-path';

Signature:

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

Parameters:

Parameter Type Description
params GetAttachmentFolderPathParams Parameters for the get attachment folder path function.

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


Links to this page: