/OkDiskLruCache

Okio, OkHttp... so what about the DiskLruCache? let's Ok too!

Primary LanguageKotlinApache License 2.0Apache-2.0

OkDiskLruCache

GitHub license Build Status Download

A fork of Jake Wharton's DiskLruCache translated to Kotlin and using Okio like what OkHttp has done for it's internal DiskLruCache implementation, unfortunately as the mentioned word internal, you can not use it directly. so here we are, also support file get in Snapshot.

Download

Maven:

<dependency>
  <groupId>com.imrock.xlib</groupId>
  <artifactId>okdisklrucache</artifactId>
  <version>1.0.0</version>
  <type>pom</type>
</dependency>

or Gradle:

dependencies {
  implementation 'com.imrock.xlib:okdisklrucache:1.0.0'
}