MCPcopy Create free account
hub / github.com/Kitware/CMake / DumpEntries

Method DumpEntries

Source/cmFileAPICache.cxx:51–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51Json::Value Cache::DumpEntries()
52{
53 Json::Value entries = Json::arrayValue;
54
55 std::vector<std::string> names = this->State->GetCacheEntryKeys();
56 std::sort(names.begin(), names.end());
57
58 for (std::string const& name : names) {
59 entries.append(this->DumpEntry(name));
60 }
61
62 return entries;
63}
64
65Json::Value Cache::DumpEntry(std::string const& name)
66{

Callers 1

DumpMethod · 0.95

Calls 5

DumpEntryMethod · 0.95
appendMethod · 0.80
GetCacheEntryKeysMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected