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

Method artificialPath

kdevplatform/language/codegen/coderepresentation.cpp:351–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351QString CodeRepresentation::artificialPath(const QString& name)
352{
353 QUrl url = QUrl::fromLocalFile(name);
354 return QLatin1String("/kdev-artificial/") + url.adjusted(QUrl::NormalizePathSegments).path();
355}
356
357InsertArtificialCodeRepresentation::InsertArtificialCodeRepresentation(const IndexedString& file,
358 const QString& text)

Callers

nothing calls this directly

Calls 1

pathMethod · 0.45

Tested by

no test coverage detected