6
6
# The initial version of the directory_cache_t class was written
7
7
# by Matthias Baas ([email protected] ).
8
8
9
- """Directory cache implementation.
9
+ """
10
+ directory cache implementation.
10
11
11
12
This module contains the implementation of a cache that uses individual
12
- files stored in a dedicated cache directory to store the cached contents.
13
- The cache class is :class:`parser.directory_cache_t` which can be passed as the `cache`
13
+ files, stored in a dedicated cache directory, to store the cached contents.
14
+
15
+ The :class:`parser.directory_cache_t` class instance could be passed as the `cache`
14
16
argument of the :func:`parser.parse` function.
15
17
"""
16
18
19
21
import declarations_cache
20
22
21
23
class index_entry_t :
22
- """Entry of the index table in the directory cache index.
24
+ """
25
+ Entry of the index table in the directory cache index.
23
26
24
- Each cached header file (i.e. each * .cache file) has a corresponding
27
+ Each cached header file (i.e. each .cache file) has a corresponding
25
28
index_entry_t object. This object is used to determine whether the
26
29
cache file with the declarations is still valid or not.
27
30
@@ -48,9 +51,9 @@ class directory_cache_t ( declarations_cache.cache_base_t ):
48
51
49
52
The cache stores one index file called `index.dat` which is always
50
53
read by the cache when the cache object is created. Each header file
51
- will have its corresponding * .cache file that stores the declarations
54
+ will have its corresponding .cache file that stores the declarations
52
55
found in the header file. The index file is used to determine whether
53
- a * .cache file is still valid or not (by checking if one of the dependent
56
+ a .cache file is still valid or not (by checking if one of the dependent
54
57
files (i.e. the header file itself and all included files) have been
55
58
modified since the last run).
56
59
"""
0 commit comments