musikr: recursively clean files
Helps clean out any previous folders from the old revisioned covers system.
This commit is contained in:
parent
7429dd5174
commit
296bd9ca06
1 changed files with 1 additions and 1 deletions
|
@ -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() }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue