How to create sub directory in DiskLruCache?

251 views Asked by At

I'm using DiskLruCache in my project. It works great but I would like to know if it's possible to create sub directories under the root cache directory.

For example:

MainCache (Create by DiskLruCache.open function with 1GB limit)
    |
    --> Dir A
    |      |
    |      ---> Dir C
    |
    |
    --> Dir B

The total size of files under MainCache and its subdirectory should still be complied with 1GB policy.

0

There are 0 answers