2023-12-11 01:20:32 -08:00
|
|
|
@file:Suppress("ktlint:standard:filename")
|
2022-06-22 02:48:19 -07:00
|
|
|
|
2022-05-31 09:38:02 -07:00
|
|
|
package co.electriccoin.zcash.spackle
|
|
|
|
|
|
|
|
import android.content.Context
|
|
|
|
import kotlinx.coroutines.Dispatchers
|
|
|
|
import kotlinx.coroutines.withContext
|
|
|
|
|
2023-12-11 01:20:32 -08:00
|
|
|
suspend fun Context.getExternalFilesDirSuspend(type: String?) =
|
|
|
|
withContext(Dispatchers.IO) {
|
|
|
|
getExternalFilesDir(type)
|
|
|
|
}
|