Skip to content

ApplyContentChangesParams

Parameters for applyContentChanges.

Import:

import type { ApplyContentChangesParams } from 'obsidian-dev-utils/obsidian/file-change';

Signature:

export interface ApplyContentChangesParams

Properties

PropertyTypeDescription
abortSignalAbortSignalThe abort signal to control the execution of the function.
changesProviderValueProvider<FileChange[] | null, ContentArgs>A provider that returns an array of content changes to apply.
contentstringThe content to which the changes should be applied.
pathstringThe path to which the changes should be applied.
shouldRetryOnInvalidChanges?booleanWhether to retry the operation if the changes are invalid.

Links to this page: