(self, all_modules)
| 234 | self._save_cache() |
| 235 | |
| 236 | def _fill_cache_map(self, all_modules): |
| 237 | for module in all_modules: |
| 238 | self.debug('save {} module file stat'.format(module['name'])) |
| 239 | self._stat_cache[module['name']] = {} |
| 240 | self._save_module_stat(module['name'], module['path']) |
| 241 | |
| 242 | root_config_path = os.path.join(os.getcwd(), 'build.gradle') |
| 243 | md5 = get_md5(root_config_path) |
| 244 | self._stat_cache[root_config_path] = {'md5': md5} |
| 245 | |
| 246 | settings_path = os.path.join(os.getcwd(), 'settings.gradle') |
| 247 | md5 = get_md5(settings_path) |
| 248 | self._stat_cache[settings_path] = {'md5': md5} |
| 249 | |
| 250 | def _save_cache(self): |
| 251 | if os.path.exists(self._cache_path): |
no test coverage detected