importFromPath

abstract suspend fun importFromPath(sourcePath: String): Result<Unit>

Import a backup file from an external path.

Copies the file from the given path to the provider's internal storage location.

Return

Result.success if imported, Result.failure on error

Parameters

sourcePath

Absolute path to the backup file to import