MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getKeys

Method getKeys

Source/Support/Dictionary.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21std::vector<Slice> Dictionary::getKeys() const noexcept {
22 std::vector<Slice> keys;
23 keys.reserve(_dict.size());
24 for (const auto& item : _dict) {
25 keys.push_back(item.first);
26 }
27 return keys;
28}
29
30const StringMap<Own<Value>>& Dictionary::data() const {
31 return _dict;

Callers 5

__Content_globFunction · 0.80
Dictionary_getKeysFunction · 0.80
Content_GlobFunction · 0.80
Content_SearchFilesAsyncFunction · 0.80
dictionary_get_keysFunction · 0.80

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected