microprobe.utils.cache¶
microprobe.utils.cache
module
Functions
cache_file (filename) |
Given a file, returns it’s cache file name. |
read_cache_data (cachename) |
Reads data from a cache file. |
read_default_cache_data (filename) |
Reads data from a default cache file. |
rm_cache_data (cachename) |
Removes a cache file. |
rm_default_cache_data (filename) |
Removes default cache file. |
update_cache_needed (filenames[, cachefile]) |
Returns True if the cache file needs to be updated. |
write_cache_data (filename, data) |
Writes data to a cache file. |
write_default_cache_data (filename, data) |
Writes data to a cache file. |
Functions¶
-
read_default_cache_data
(filename)[source]¶ Reads data from a default cache file.
Parameters: filename –
-
update_cache_needed
(filenames, cachefile=None)[source]¶ Returns True if the cache file needs to be updated.
Parameters: - filenames –
- cachefile – (Default value = None)