MCPcopy Create free account
hub / github.com/QNapi/qnapi / run

Method run

gui/src/forms/frmscan.cpp:241–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239ScanFilesThread::ScanFilesThread() : staticConfig(LibQNapi::staticConfig()) {}
240
241void ScanFilesThread::run() {
242 abort = false;
243 fileList.clear();
244 visited.clear();
245
246 QDir::Filters filters = QDir::AllDirs | QDir::Files | QDir::NoDotAndDotDot |
247 QDir::Readable | QDir::Hidden;
248
249 if (!followSymLinks) filters |= QDir::NoSymLinks;
250
251 emit scanFinished(doScan(searchPath, filters));
252}
253
254bool ScanFilesThread::doScan(const QString &path, QDir::Filters filters) {
255 QString myPath = QFileInfo(path).absoluteFilePath();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected