GitBulkOperationResult<T>
The result of BulkOperationGitRepo.runBulkOperation.
Import:
import type { GitBulkOperationResult } from '@mnaoumov/obsidian-lib/desktop-bulk-operation-git';Signature:
export interface GitBulkOperationResult<T>Properties
| Property | Type | Description |
|---|---|---|
| commitSha | null | string | The hash of the commit recording the operation, or null when the operation changed nothing. |
| operationId | string | The operation id, such as OP12. |
| recoveredOperationId | null | string | The id the operation started under, when its lock was recovered as stale while it ran, or null otherwise.The changes made before the recovery are in the <recoveredOperationId> interrupted commit, and the rest went into a fresh operationId, so undoing the whole operation takes reverting both. |
| result | T | The operation's result. |
Links to this page: