mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-14 00:04:34 -05:00
Add mutation to clear the cached images (#775)
This commit is contained in:
@@ -114,4 +114,8 @@ object ImageResponse {
|
||||
File(it).delete()
|
||||
}
|
||||
}
|
||||
|
||||
fun clearImages(saveDir: String): Boolean {
|
||||
return File(saveDir).deleteRecursively()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user