Skip to content

BulkOperationGitRepoRunBulkOperationParams<T>

Parameters for BulkOperationGitRepo.runBulkOperation.

Import:

import type { BulkOperationGitRepoRunBulkOperationParams } from '@mnaoumov/obsidian-lib/desktop-bulk-operation-git';

Signature:

export interface BulkOperationGitRepoRunBulkOperationParams<T>

Properties

PropertyTypeDescription
operation() => Promise<T>Runs the bulk operation.
pluginIdstringThe id of the plugin running the operation.
settle() => Promise<void>Waits for the follow-ups the operation set off (rename handlers, link updates, the metadata cache) to finish, so their changes land in the operation's commit.
summarystringA one-line description of the operation, used in the commit subject.