| 3 | #include <cassert> |
| 4 | |
| 5 | CacheAccessorID GetCacheAccessorID(const std::string& filePath) |
| 6 | { |
| 7 | constexpr std::hash<std::string> hasher; |
| 8 | return static_cast<CacheAccessorID>(hasher(filePath)); |
| 9 | } |
| 10 | |
| 11 | FileAccessorCache::FileAccessorCache(size_t cacheSize) |
| 12 | { |
no outgoing calls
no test coverage detected