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

Method GetCacheEntryValue

Source/cmCacheManager.h:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 cmValue GetInitializedCacheValue(std::string const& key) const;
75
76 cmValue GetCacheEntryValue(std::string const& key) const
77 {
78 if (auto const* entry = this->GetCacheEntry(key)) {
79 return cmValue(entry->GetValue());
80 }
81 return nullptr;
82 }
83
84 void SetCacheEntryValue(std::string const& key, std::string const& value)
85 {

Callers

nothing calls this directly

Calls 3

GetCacheEntryMethod · 0.95
cmValueClass · 0.70
GetValueMethod · 0.45

Tested by

no test coverage detected