Adds or replaces value at the given key. Can be used by debugging or testing code.
| 149 | /// Adds or replaces value at the given key. Can be used by debugging or |
| 150 | /// testing code. |
| 151 | void setValue(const std::string& key, const std::string& value) { |
| 152 | (*values_.wlock())[key] = value; |
| 153 | } |
| 154 | |
| 155 | private: |
| 156 | folly::Synchronized<std::unordered_map<std::string, std::string>> values_; |
no outgoing calls
no test coverage detected