MCPcopy Create free account
hub / github.com/ElementsProject/elements / Add

Method Add

src/leveldb/table/table_test.cc:146–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 virtual ~Constructor() = default;
145
146 void Add(const std::string& key, const Slice& value) {
147 data_[key] = value.ToString();
148 }
149
150 // Finish constructing the data structure with all the keys that have
151 // been added so far. Returns the keys in sorted order in "*keys"

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected