ApplyFileChangesParams
Parameters for applyFileChanges.
Import:
import type { ApplyFileChangesParams } from 'obsidian-dev-utils/obsidian/file-change';Signature:
export interface ApplyFileChangesParams extends ApplyFileChangesOptionsExtends: ApplyFileChangesOptions
Properties
| Property | Type | Description |
|---|---|---|
| app | App | The application instance where the file changes will be applied. |
| changesProvider | ValueProvider<FileChange[] | null, ContentArgs> | A provider that returns an array of file changes to apply. |
| pathOrFile | PathOrFile | The path or file to which the changes should be applied. |
| shouldRetryOnInvalidChanges? | boolean | Whether to retry the operation if the changes are invalid. |
Links to this page: