Skip to content

AttachmentPlacement

The folder an attachment sits in, judged against the folder one note’s configuration puts its attachments in.

Import:

import type { AttachmentPlacement } from '@mnaoumov/obsidian-lib/misplaced-attachment';

Signature:

export interface AttachmentPlacement

Properties

PropertyTypeDescription
isInProperFolderbooleanWhether the attachment sits in AttachmentPlacement.properAttachmentFolderPath, compared the way the vault's adapter compares names (case-folded on a case-insensitive adapter).
properAttachmentFolderPathstringThe vault-relative folder the note's configuration puts this attachment in, / for the vault root.

Links to this page: