Trees | Indices | Help |
|
---|
|
object --+ | declarations_cache.cache_base_t --+ | directory_cache_t
Cache class that stores its data as multiple files inside a directory.
The cache stores one index file called "index.dat" which is always read by the cache when the cache object is created. Each header file will have its corresponding *.cache file that stores the declarations found in the header file. The index file is used to determine whether a *.cache file is still valid or not (by checking if one of the dependent files (i.e. the header file itself and all included files) have been modified since the last run).
Instance Methods | |||
|
|||
|
|||
|
|||
|
Class Variables | |
Inherited from |
Method Details |
Constructor. dir is the cache directory (it is created if it does not exist). If compression is set to True the cache files will be compressed using gzip. md5_sigs determines whether file modifications is checked by computing a md5 digest or by checking the modification date.
|
Save the index table to disk.
|
Replace a cache entry by a new value.
|
Return the cached declarations or None.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 20 08:51:06 2008 | http://epydoc.sourceforge.net |