DiskCache module
This module contains function to temporarily store data on disk. Data stored in this way is recoverable using these functions only by the executable that stored it (though it is not encrypted and so is trivially readable).
Exceptions
- UnsafeDirectory - The Directory is unsafe
- UnsafeObject - The object is unsafe
Functions
- Void delCache(String cachedir,String cacheid) - Deletes a cached variable if it exists
- Maybe<a> fromCache(String cachedir,String cacheid,Int(String) verifier=strHash) - Returns a cacheable variable from disk
- Void toCache(a state,String cachedir,String cacheid,Int(String) verifier=strHash) - Stores a cacheable variable to disk
- String userCacheDir(String specific) - Get a cache directory