FileStorage

fun FileStorage(directory: File, dispatcher: CoroutineDispatcher = Dispatchers.IO): CacheStorage

Creates storage that uses file system to store cache data.

Parameters

directory

directory to store cache data.

dispatcher

dispatcher to use for file operations.