Skip to content

GetAttachmentFilePathParams

Options for the getAttachmentFilePath function.

Import:

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

Signature:

export interface GetAttachmentFilePathParams

Properties

PropertyTypeDescription
appAppAn Obsidian application instance.
contextAttachmentPathContextA context.
notePathOrFilePathOrFileA path of the note.
oldAttachmentPathOrFilePathOrFileA path of the attachment.
oldNotePathOrFile?PathOrFile | undefinedA path of the old note.
shouldSkipDuplicateCheckbooleanShould the duplicate check be skipped.

Links to this page: