MCPcopy Create free account
hub / github.com/Axosoft/nsfw / removeNodeReferenceByWD

Method removeNodeReferenceByWD

src/linux/InotifyTree.cpp:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void InotifyTree::removeNodeReferenceByWD(int wd) {
123 auto nodeIterator = mInotifyNodeByWatchDescriptor->find(wd);
124 if (nodeIterator != mInotifyNodeByWatchDescriptor->end()) {
125 mInotifyNodeByWatchDescriptor->erase(nodeIterator);
126 }
127}
128
129void InotifyTree::renameDirectory(int fromWd, std::string fromName, int toWd, std::string toName) {
130 auto fromNodeIterator = mInotifyNodeByWatchDescriptor->find(fromWd);

Callers 1

~InotifyNodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected