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

Method removeChild

src/linux/InotifyTree.cpp:456–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void InotifyTree::InotifyNode::removeChild(std::string name) {
457 auto child = mChildren->find(name);
458 if (child != mChildren->end()) {
459 delete child->second;
460 child->second = NULL;
461 mChildren->erase(child);
462 }
463}
464
465void InotifyTree::InotifyNode::renameChild(std::string oldName, std::string newName) {
466 auto child = mChildren->find(oldName);

Callers 2

removeDirectoryMethod · 0.80
updateExcludedPathsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected