| 61 | } |
| 62 | |
| 63 | void ModuleCache::invalidateCache(const boost::filesystem::path& moduleName) { |
| 64 | assert(!moduleName.empty() && "Cannot pass empty path to ModuleCache::invalidateCache"); |
| 65 | |
| 66 | auto cachePath = cachePathForModule(moduleName); |
| 67 | |
| 68 | boost::filesystem::remove(cachePath); |
| 69 | } |
| 70 | |
| 71 | std::time_t ModuleCache::cacheUpdateTime(const boost::filesystem::path& moduleName) const { |
| 72 | return boost::filesystem::last_write_time(cachePathForModule(moduleName)); |
nothing calls this directly
no outgoing calls
no test coverage detected