| 31 | } |
| 32 | |
| 33 | bool removeAppManifest(const std::string& id) { |
| 34 | LOGGER.info("Removing manifest for {}", id); |
| 35 | |
| 36 | auto lock = hash_mutex.asScopedLock(); |
| 37 | lock.lock(); |
| 38 | |
| 39 | return app_manifest_map.erase(id) == 1; |
| 40 | } |
| 41 | |
| 42 | std::shared_ptr<AppManifest> findAppManifestById(const std::string& id) { |
| 43 | hash_mutex.lock(); |
no test coverage detected