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

Method createFullPath

src/linux/InotifyTree.cpp:490–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490std::string InotifyTree::InotifyNode::createFullPath(std::string parentPath, std::string name) {
491 std::stringstream fullPathStream;
492 if (name == "") {
493 return parentPath;
494 }
495 fullPathStream
496 << parentPath
497 << '/'
498 << name;
499
500 return fullPathStream.str();
501}
502
503InotifyTree::InotifyNode *InotifyTree::InotifyNode::pullChild(std::string name) {
504 auto child = mChildren->find(name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected