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

Method isParentOf

kdevplatform/util/path.cpp:247–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247bool Path::isParentOf(const Path& path) const
248{
249 if (!isValid() || !path.isValid() || remotePrefix() != path.remotePrefix()) {
250 return false;
251 }
252 return isParentPath(m_data, path.m_data, false);
253}
254
255bool Path::isDirectParentOf(const Path& path) const
256{

Callers 15

displayUrlFunction · 0.80
prettyFilePathMethod · 0.80
mapSourceBuildMethod · 0.80
renameUrlMethod · 0.80
addJobItemsMethod · 0.80
statusReadyMethod · 0.80
matchPathFilterFunction · 0.80
inProjectMethod · 0.80
testPathMethod · 0.80
reloadFromContextMenuMethod · 0.80
removeItemsMethod · 0.80

Calls 4

isParentPathFunction · 0.85
remotePrefixMethod · 0.80
isValidFunction · 0.70
isValidMethod · 0.45

Tested by 2

inProjectMethod · 0.64
testPathMethod · 0.64