mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
[skip ci] 自动清理ArchiveUtils解压缓存
This commit is contained in:
parent
d56f46624e
commit
59e44f6cd7
@ -57,7 +57,7 @@ object BookHelp {
|
||||
}
|
||||
|
||||
/**
|
||||
* 清除已删除书的缓存
|
||||
* 清除已删除书的缓存 解压缓存
|
||||
*/
|
||||
suspend fun clearInvalidCache() {
|
||||
withContext(IO) {
|
||||
@ -79,6 +79,7 @@ object BookHelp {
|
||||
FileUtils.delete(epubFile.absolutePath)
|
||||
}
|
||||
}
|
||||
FileUtils.delete(ArchiveUtils.TEMP_PATH)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user