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

Method canonicalizePaths

plugins/meson/mesonconfig.cpp:166–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void Meson::BuildDir::canonicalizePaths()
167{
168 for (auto* i : { &buildDir }) {
169 // canonicalFilePath checks if the file / directory exists and returns "" if it doesn't.
170 QString tmp = QFileInfo(i->toLocalFile()).canonicalFilePath();
171 if (!tmp.isEmpty()) {
172 *i = Path(tmp);
173 }
174 }
175}

Callers 4

addBuildDirMethod · 0.80
getMesonConfigMethod · 0.80
newBuildDirectoryMethod · 0.80
addBuildDirMethod · 0.80

Calls 4

toLocalFileMethod · 0.80
QFileInfoClass · 0.50
PathClass · 0.50
isEmptyMethod · 0.45

Tested by

no test coverage detected