MCPcopy Create free account
hub / github.com/apitrace/apitrace / tryPath

Function tryPath

cli/cli_resources.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55#endif
56
57static bool
58tryPath(const os::String &path, bool verbose)
59{
60 bool exists = path.exists();
61 if (verbose) {
62 std::cerr << "info: " << (exists ? "found" : "did not find") << " " << path.str() << "\n";
63 }
64 return exists;
65}
66
67os::String
68findProgram(const char *programFilename, bool verbose)

Callers 3

findProgramFunction · 0.85
findWrapperFunction · 0.85
findScriptFunction · 0.85

Calls 2

strMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected