Skip to content

RescueStillUsedFileParams

Parameters passed to DeleteIfNotUsedParams.rescueStillUsedFile.

Import:

import type { RescueStillUsedFileParams } from 'obsidian-dev-utils/obsidian/vault-delete';

Signature:

export interface RescueStillUsedFileParams

Properties

PropertyTypeDescription
fileTFileThe file that is about to be kept because other notes still reference it.
survivingNotePathsreadonly string[]The paths of the notes that still reference the file once everything being deleted alongside it is gone. Never empty.