GetAttachmentFilePathParams
Options for the getAttachmentFilePath function.
Import:
import type { GetAttachmentFilePathParams } from 'obsidian-dev-utils/obsidian/attachment-path';Signature:
export interface GetAttachmentFilePathParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | An Obsidian application instance. |
| context | AttachmentPathContext | A context. |
| notePathOrFile | PathOrFile | A path of the note. |
| oldAttachmentPathOrFile | PathOrFile | A path of the attachment. |
| oldNotePathOrFile? | PathOrFile | undefined | A path of the old note. |
| shouldSkipDuplicateCheck | boolean | Should the duplicate check be skipped. |
Links to this page: