| 245 | } |
| 246 | |
| 247 | bool 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 | |
| 255 | bool Path::isDirectParentOf(const Path& path) const |
| 256 | { |