Skip to main content

Function: collectSourceDeletionErrors()

collectSourceDeletionErrors(args: { deleteSource: boolean; provider: CloudStorageProvider; sourceKey: string; }): Promise<string[]>

Defined in: electron/services/cloud/migrations/backupMigrationHelpers.ts:34

Deletes source backup artifacts after successful migration when configured.

Parameters

args

Deletion options and provider dependencies.

deleteSource

boolean

provider

CloudStorageProvider

sourceKey

string

Returns

Promise<string[]>

A list of non-empty deletion error messages.