| 75 | } |
| 76 | |
| 77 | bool Put(std::string key, const uint8_t *buf, size_t bufLen) override { |
| 78 | std::lock_guard<std::mutex> lock{repository_results_mutex_}; |
| 79 | repository_results_.emplace(key, std::string{reinterpret_cast<const char*>(buf), bufLen}); |
| 80 | return true; |
| 81 | } |
| 82 | |
| 83 | bool MultiPut(const std::vector<std::pair<std::string, std::unique_ptr<minifi::io::BufferStream>>>& data) override { |
| 84 | for (const auto& item: data) { |
no test coverage detected