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

Function itemForPath

plugins/execute/nativeappconfig.cpp:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static KDevelop::ProjectBaseItem* itemForPath(const QStringList& path, KDevelop::ProjectModel* model)
68{
69 return model->itemFromIndex(model->pathToIndex(path));
70}
71
72//TODO: Make sure to auto-add the executable target to the dependencies when its used.
73

Callers 1

suggestionTriggeredMethod · 0.70

Calls 2

pathToIndexMethod · 0.80
itemFromIndexMethod · 0.45

Tested by

no test coverage detected