MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / registerInstalledApps

Function registerInstalledApps

Tactility/Source/Tactility.cpp:237–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237static void registerInstalledApps(const std::string& path) {
238 LOGGER.info("Registering apps from {}", path);
239
240 file::listDirectory(path, [&path](const auto& entry) {
241 auto absolute_path = std::format("{}/{}", path, entry.d_name);
242 if (file::isDirectory(absolute_path)) {
243 registerInstalledApp(absolute_path);
244 }
245 });
246}
247
248static void registerInstalledAppsFromFileSystems() {
249 file_system_for_each(nullptr, [](auto* fs, void* context) {

Callers 1

Calls 4

listDirectoryFunction · 0.85
isDirectoryFunction · 0.85
registerInstalledAppFunction · 0.85
infoMethod · 0.80

Tested by

no test coverage detected