MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / updateReconciliationStatus

Method updateReconciliationStatus

reconciliation.go:378–380  ·  view source on GitHub ↗

updateReconciliationStatus updates the status of a reconciliation process in the database. Parameters: - ctx: The context controlling the request. - reconciliationID: The ID of the reconciliation. - status: The new status to set. Returns: - error: If the status update fails.

(ctx context.Context, reconciliationID, status string)

Source from the content-addressed store, hash-verified

376// Returns:
377// - error: If the status update fails.
378func (s *LedgerForge) updateReconciliationStatus(ctx context.Context, reconciliationID, status string) error {
379 return s.datasource.UpdateReconciliationStatus(ctx, reconciliationID, status, 0, 0)
380}
381
382// initializeReconciliationProgress initializes or retrieves the progress of a reconciliation.
383// If no progress exists, it creates a new progress entry.

Callers 1

processReconciliationMethod · 0.95

Calls 1

Tested by

no test coverage detected