IsTreatedAsAttachmentParams
Parameters for isTreatedAsAttachment.
Import:
import type { IsTreatedAsAttachmentParams } from 'obsidian-dev-utils/obsidian/file-system';Signature:
export interface IsTreatedAsAttachmentParamsProperties
| Property | Type | Description |
|---|---|---|
| attachmentExtensions | readonly string[] | The extensions that mark a file as an attachment, e.g. ['.excalidraw.md']. Each entry is normalized before matching: surrounding whitespace is trimmed, a single leading dot is enforced, and the comparison is case-insensitive. Empty entries are ignored. |
| pathOrFile | null | PathOrAbstractFile | The path or file to classify. |
Links to this page: