MCPcopy Create free account
hub / github.com/baldurk/renderdoc / toolExists

Function toolExists

renderdoc/android/android_tools.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40{
41static bool adbKillServer = false;
42bool toolExists(const rdcstr &path)
43{
44 if(path.empty())
45 return false;
46 return FileIO::exists(path) || FileIO::exists(path + ".exe");
47}
48rdcstr getToolInSDK(ToolDir subdir, const rdcstr &jdkroot, const rdcstr &sdkroot,
49 const rdcstr &toolname)
50{

Callers 2

getToolInSDKFunction · 0.85
getToolPathFunction · 0.85

Calls 2

existsFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected