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

Method getChildCount

source/io/fsnode.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119U32 FsNode::getChildCount() {
120 this->loadChildren();
121 BOXEDWINE_CRITICAL_SECTION_WITH_MUTEX(this->childrenByNameMutex);
122 return (U32)this->childrenByName.size();
123}
124
125void FsNode::addChild(std::shared_ptr<FsNode> node) {
126 this->loadChildren();

Callers 3

loadDirEntriesMethod · 0.80
lengthMethod · 0.80
removeDirMethod · 0.80

Calls 2

loadChildrenMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected