ProfileStorageDeletion.desktop.kt
composeApp/src/desktopMain/kotlin/eu/friedcutlet/yokan/app/profiles/ProfileStorageDeletion.desktop.kt
1package eu.friedcutlet.yokan.app.profiles23import eu.friedcutlet.yokan.services.files.desktopDataRoot4import kotlinx.coroutines.Dispatchers5import kotlinx.coroutines.withContext6import eu.friedcutlet.yokan.domain.ProfileId78internal actual suspend fun deletePlatformProfileStorage(id: ProfileId, exportedBackups: List<String>) = withContext(Dispatchers.IO) {9 deleteOwnedProfileDirectory(desktopDataRoot, id, exportedBackups)10}11