| 6173 | } |
| 6174 | |
| 6175 | void hash_text(uint64_t& h, const std::string& s) { |
| 6176 | h = fnv1a64((const uint8_t*) s.data(), (uint64_t) s.size(), h); |
| 6177 | } |
| 6178 | |
| 6179 | bool hash_small_file(const std::filesystem::path& path, uint64_t& h, std::string& err) { |
| 6180 | hash_text(h, path.filename().string()); |
no test coverage detected