MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / addChild

Method addChild

source/io/fsnode.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void FsNode::addChild(std::shared_ptr<FsNode> node) {
126 this->loadChildren();
127 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(this->childrenByNameMutex);
128 this->childrenByName.set(node->name, node);
129}
130
131void FsNode::removeChildByName(BString name) {
132 this->loadChildren();

Callers 7

addVirtualFileMethod · 0.80
addDynamicLinkFileMethod · 0.80
addFileNodeMethod · 0.80
addRootDirectoryNodeMethod · 0.80
renameMethod · 0.80
bindMethod · 0.80
addProcessMethod · 0.80

Calls 2

loadChildrenMethod · 0.95
setMethod · 0.45

Tested by

no test coverage detected