| 431 | } |
| 432 | |
| 433 | const hcf_image_info * |
| 434 | hcf_cache::get_image_info(hcf_object_id obj, |
| 435 | const std::string &image_name) const { |
| 436 | std::lock_guard<std::mutex> lock{_mutex}; |
| 437 | auto it = _hcf_image_info.find(generate_info_id(obj, image_name)); |
| 438 | if(it == _hcf_image_info.end()) |
| 439 | return nullptr; |
| 440 | return it->second.get(); |
| 441 | } |
| 442 | |
| 443 | |
| 444 |
no test coverage detected