musikr: recursively clean files

Helps clean out any previous folders from the old revisioned covers
system.
This commit is contained in:
Alexander Capehart
2025-03-17 14:47:15 -06:00
parent 7429dd5174
commit 296bd9ca06
@@ -136,7 +136,7 @@ private class FSCoverStorage(private val dir: File) : CoverStorage {
}
override suspend fun rm(name: String) {
withContext(Dispatchers.IO) { File(dir, name).delete() }
withContext(Dispatchers.IO) { File(dir, name).deleteRecursively() }
}
}