equal
deleted
inserted
replaced
25 import kotlinx.coroutines.CoroutineDispatcher |
25 import kotlinx.coroutines.CoroutineDispatcher |
26 import kotlinx.coroutines.withContext |
26 import kotlinx.coroutines.withContext |
27 import kotlinx.serialization.ExperimentalSerializationApi |
27 import kotlinx.serialization.ExperimentalSerializationApi |
28 import okio.Source |
28 import okio.Source |
29 |
29 |
|
30 /** |
|
31 * Retrieve license information produced by [licensee](https://github.com/cashapp/licensee) |
|
32 */ |
30 class LicenseeLicenseInfoRepository( |
33 class LicenseeLicenseInfoRepository( |
31 private val produceInput: suspend () -> Source, |
34 private val produceInput: suspend () -> Source, |
32 private val mainCoroutineDispatcher: CoroutineDispatcher, |
35 private val mainCoroutineDispatcher: CoroutineDispatcher, |
33 private val ioCoroutineDispatcher: CoroutineDispatcher, |
36 private val ioCoroutineDispatcher: CoroutineDispatcher, |
34 ) : LicenseInfoRepository { |
37 ) : LicenseInfoRepository { |