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

Method hasParent

kdevplatform/util/path.cpp:424–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424bool Path::hasParent() const
425{
426 const int rootIdx = isRemote() ? 1 : 0;
427 return m_data.size() > rootIdx && !m_data[rootIdx].isEmpty();
428}
429
430Path Path::cd(const QString& dir) const
431{

Callers 5

testHasParentMethod · 0.80
findCraftRootMethod · 0.80
fileInformationMethod · 0.80

Calls 2

sizeMethod · 0.45
isEmptyMethod · 0.45

Tested by 1

testHasParentMethod · 0.64