Skip to content

applyFileChanges

Applies a series of file changes to the specified file or path within the application.

Import:

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

Signature:

function applyFileChanges(params: ApplyFileChangesParams): Promise<void>

Parameters:

ParameterTypeDescription
paramsApplyFileChangesParamsThe parameters for applying the file changes.

Returns: Promise<void> — A Promise that resolves when the file changes have been successfully applied.


Links to this page: