RestoreBackupUseCaseImpl
internal class RestoreBackupUseCaseImpl(databaseImporter: <Error class: unknown class>, kaliumFileSystem: KaliumFileSystem, userId: <Error class: unknown class>, userRepository: UserRepository, currentClientIdProvider: CurrentClientIdProvider, restoreWebBackup: RestoreWebBackupUseCase, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl, idMapper: IdMapper = MapperProvider.idMapper()) : RestoreBackupUseCase
Constructors
Link copied to clipboard
constructor(databaseImporter: <Error class: unknown class>, kaliumFileSystem: KaliumFileSystem, userId: <Error class: unknown class>, userRepository: UserRepository, currentClientIdProvider: CurrentClientIdProvider, restoreWebBackup: RestoreWebBackupUseCase, dispatchers: <Error class: unknown class> = KaliumDispatcherImpl, idMapper: IdMapper = MapperProvider.idMapper())
Functions
Link copied to clipboard
open suspend operator override fun invoke(backupFilePath: <Error class: unknown class>, password: String?): RestoreBackupResult
Restores a valid previously created backup file into the current database, respecting the current data if there is any overlap.