directory

fun <Error class: unknown class>.directory(directory: File): <Error class: unknown class>

Set the directory where the cache stores its data.

IMPORTANT: It is an error to have two DiskCache instances active in the same directory at the same time as this can corrupt the disk cache.