app: cleanup

This commit is contained in:
Alexander Capehart
2025-03-17 08:12:39 -06:00
parent 343856ac69
commit aac6d8ef4d
38 changed files with 76 additions and 228 deletions
@@ -59,8 +59,7 @@ internal interface CacheReadDao {
@Dao
internal interface CacheWriteDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun updateSong(CachedSongData: CachedSongData)
@Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun updateSong(data: CachedSongData)
@Transaction
suspend fun deleteExcludingUris(uris: Set<String>) {
@@ -37,6 +37,10 @@ sealed interface Name : Comparable<Name> {
/** A tokenized version of the name that will be compared. */
abstract val tokens: List<Token>
abstract override fun hashCode(): Int
abstract override fun equals(other: Any?): Boolean
final override fun compareTo(other: Name) =
when (other) {
is Known -> {