| 388 | } |
| 389 | |
| 390 | void InotifyTree::InotifyNode::fixPaths() { |
| 391 | std::string parentPath = mParent->getFullPath(); |
| 392 | std::string fullPath = createFullPath(parentPath, mName); |
| 393 | |
| 394 | if (fullPath == mFullPath) { |
| 395 | return; |
| 396 | } |
| 397 | |
| 398 | mFullPath = fullPath; |
| 399 | |
| 400 | for(auto i = mChildren->begin(); i != mChildren->end(); ++i) { |
| 401 | i->second->fixPaths(); |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | std::string InotifyTree::InotifyNode::getFullPath() { |
| 406 | return mFullPath; |
nothing calls this directly
no test coverage detected