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

Method fileSource

plugins/meson/mintro/mesontargets.cpp:209–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209MesonSourcePtr MesonTargets::fileSource(KDevelop::Path p)
210{
211 auto it = m_sourceHash.find(p);
212 if (it == end(m_sourceHash)) {
213 return nullptr;
214 }
215
216 return *it;
217}
218
219MesonSourcePtr MesonTargets::operator[](KDevelop::Path p)
220{

Callers 1

sourceFromItemMethod · 0.80

Calls 2

endFunction · 0.50
findMethod · 0.45

Tested by

no test coverage detected