app: cleanup
This commit is contained in:
@@ -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 -> {
|
||||
|
||||
Reference in New Issue
Block a user