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

Function toPathList_impl

kdevplatform/util/path.cpp:450–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448
449template<typename Container>
450static Path::List toPathList_impl(const Container& list)
451{
452 Path::List ret;
453 ret.reserve(list.size());
454 for (const auto& entry : list) {
455 Path path(entry);
456 if (path.isValid()) {
457 ret << path;
458 }
459 }
460
461 ret.squeeze();
462 return ret;
463}
464
465Path::List toPathList(const QList<QUrl>& list)
466{

Callers 1

toPathListFunction · 0.85

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected