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

Method canLaunch

plugins/executescript/scriptappconfig.cpp:210–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210bool ScriptAppConfigType::canLaunch(const QUrl& file) const
211{
212 return ! interpreterForUrl(file).isEmpty();
213}
214
215bool ScriptAppConfigType::canLaunch(KDevelop::ProjectBaseItem* item) const
216{

Callers

nothing calls this directly

Calls 4

interpreterForUrlFunction · 0.85
isEmptyMethod · 0.45
toUrlMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected