Skip to content

applyFileChanges

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

Import:

import { applyFileChanges } from '@mnaoumov/obsidian-lib/file-change';

Signature:

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

Parameters:

Parameter Type Description
params ApplyFileChangesParams The 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: