MCPcopy Create free account
hub / github.com/KDE/kdevelop / findFile

Function findFile

plugins/debuggercommon/tests/testhelper.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50QString findFile(const char* dir, const QString& name)
51{
52 QFileInfo info(QString::fromLocal8Bit(dir), name);
53 Q_ASSERT_X(info.exists(), "findFile", info.filePath().toLocal8Bit());
54
55 return info.canonicalFilePath();
56}
57
58bool isAttachForbidden(const char *file, int line)
59{

Callers 4

TestDebugSessionClass · 0.85
TestDebugSessionMethod · 0.85
findSourceFileFunction · 0.85
testManualAttachMethod · 0.85

Calls 2

existsMethod · 0.80
filePathMethod · 0.45

Tested by

no test coverage detected