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

Method inProject

kdevplatform/shell/project.cpp:566–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564}
565
566bool Project::inProject( const IndexedString& path ) const
567{
568 Q_D(const Project);
569
570 if (d->fileSet.contains( path )) {
571 return true;
572 }
573 return !d->itemsForPath( path ).isEmpty();
574}
575
576QList< ProjectBaseItem* > Project::itemsForPath(const IndexedString& path) const
577{

Callers 3

projectOpenedMethod · 0.45
closeAllOpenedFilesMethod · 0.45
sanitizePathMethod · 0.45

Calls 3

containsMethod · 0.45
isEmptyMethod · 0.45
itemsForPathMethod · 0.45

Tested by

no test coverage detected