all: reformat

This commit is contained in:
Alexander Capehart
2024-12-21 11:52:28 -05:00
parent 9a38877c2e
commit 001db620e3
5 changed files with 10 additions and 19 deletions
+2 -4
View File
@@ -50,9 +50,7 @@ private class CacheImpl(private val cacheInfoDao: CacheInfoDao) : Cache() {
}
class WriteOnlyCache(private val inner: Cache) : Cache() {
override suspend fun read(file: DeviceFile, storedCovers: StoredCovers) =
CacheResult.Miss(file)
override suspend fun read(file: DeviceFile, storedCovers: StoredCovers) = CacheResult.Miss(file)
override suspend fun write(song: RawSong) =
inner.write(song)
override suspend fun write(song: RawSong) = inner.write(song)
}
@@ -18,7 +18,6 @@
package org.oxycblt.musikr.pipeline
import android.util.Log
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.Flow
@@ -79,9 +78,7 @@ private class EvaluateStepImpl(
val graphBuild =
merge(
filterFlow.manager,
preSongs.onEach {
wrap(it, graphBuilder::add)
},
preSongs.onEach { wrap(it, graphBuilder::add) },
prePlaylists.onEach { wrap(it, graphBuilder::add) })
graphBuild.collect()
val graph = graphBuilder.build()