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

Method GetInitializedCacheValue

Source/cmCacheManager.cxx:501–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499}
500
501cmValue cmCacheManager::GetInitializedCacheValue(std::string const& key) const
502{
503 if (auto const* entry = this->GetCacheEntry(key)) {
504 if (entry->Initialized) {
505 return cmValue(entry->GetValue());
506 }
507 }
508 return nullptr;
509}
510
511void cmCacheManager::PrintCache(std::ostream& out) const
512{

Callers 1

LoadCacheMethod · 0.95

Calls 3

GetCacheEntryMethod · 0.95
cmValueClass · 0.70
GetValueMethod · 0.45

Tested by

no test coverage detected