| 40 | } |
| 41 | |
| 42 | std::shared_ptr<AppManifest> findAppManifestById(const std::string& id) { |
| 43 | hash_mutex.lock(); |
| 44 | auto result = app_manifest_map.find(id); |
| 45 | hash_mutex.unlock(); |
| 46 | if (result != app_manifest_map.end()) { |
| 47 | return result->second; |
| 48 | } else { |
| 49 | return nullptr; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | std::vector<std::shared_ptr<AppManifest>> getAppManifests() { |
| 54 | std::vector<std::shared_ptr<AppManifest>> manifests; |
no test coverage detected