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

Method internPath

plugins/custommake/makefileresolver/makefileresolver.cpp:624–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624Path PathInterner::internPath(const QString& path)
625{
626 Path& ret = m_pathCache[path];
627 if (ret.isEmpty() != path.isEmpty()) {
628 ret = Path(m_base, path);
629 }
630 return ret;
631}
632
633QString StringInterner::internString(const QString& path)
634{

Callers 4

processOutputMethod · 0.80
parseTargetFunction · 0.80
parseCodeModelFunction · 0.80
parseCMakeFilesFunction · 0.80

Calls 2

PathClass · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected