Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
424
bool Path::hasParent() const
425
{
426
const int rootIdx = isRemote() ? 1 : 0;
427
return m_data.size() > rootIdx && !m_data[rootIdx].isEmpty();
428
}
429
430
Path Path::cd(const QString& dir) const
431
{
Callers
5
testHasParent
Method · 0.80
findIncludePathDependency
Method · 0.80
findCraftRoot
Method · 0.80
fileInformation
Method · 0.80
rebuildFileForFolderMapping
Method · 0.80
Calls
2
size
Method · 0.45
isEmpty
Method · 0.45
Tested by
1
testHasParent
Method · 0.64