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

Method GetCacheEntry

Source/cmCacheManager.cxx:481–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481cmCacheManager::CacheEntry* cmCacheManager::GetCacheEntry(
482 std::string const& key)
483{
484 auto i = this->Cache.find(key);
485 if (i != this->Cache.end()) {
486 return &i->second;
487 }
488 return nullptr;
489}
490
491cmCacheManager::CacheEntry const* cmCacheManager::GetCacheEntry(
492 std::string const& key) const

Callers 12

ReadPropertyEntryMethod · 0.95
GetCacheEntryValueMethod · 0.95
SetCacheEntryValueMethod · 0.95
GetCacheEntryTypeMethod · 0.95
GetCacheEntryPropertyMethod · 0.95
SetCacheEntryPropertyMethod · 0.95

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected