okhttp / okhttp3 / Cache / delete

delete

fun delete(): Unit

Closes the cache and deletes all of its stored values. This will delete all files in the cache directory including files that weren't created by the cache.