| 83 | } |
| 84 | |
| 85 | bool PlatformHelper::HasNativeLibrary(const std::string &libName) { |
| 86 | return std::filesystem::exists(std::filesystem::path("/lib64") / libName) || std::filesystem::exists(std::filesystem::path("/lib") / libName) || |
| 87 | std::filesystem::exists(std::filesystem::path("/usr/lib/x86_64-linux-gnu") / libName) || |
| 88 | std::filesystem::exists(std::filesystem::path("/usr/lib/aarch64-linux-gnu") / libName); |
| 89 | } |
nothing calls this directly
no outgoing calls
no test coverage detected