| 164 | } |
| 165 | |
| 166 | InotifyTree::InotifyNode * InotifyTree::findNodeByInode(ino_t inodeNumber) { |
| 167 | auto nodeIterator = inodes.find(inodeNumber); |
| 168 | if (nodeIterator == inodes.end()) { |
| 169 | return NULL; |
| 170 | } |
| 171 | |
| 172 | return nodeIterator->second; |
| 173 | } |
| 174 | |
| 175 | InotifyTree::InotifyNode * InotifyTree::findNodeByPath(const std::string path) { |
| 176 | struct stat file; |
nothing calls this directly
no outgoing calls
no test coverage detected