MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / GetChildren

Method GetChildren

src/gui/filesystemmodel.cc:146–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 }
145
146 unsigned GetChildren(const wxDataViewItem& item,
147 wxDataViewItemArray& children) const override
148 {
149 auto node = Find(item);
150 if (!node)
151 return 0;
152
153 for (auto& e : node->children)
154 children.Add(e.second->item);
155 return node->children.size();
156 }
157
158 /* --- Mutation API -------------------------------------------------- */
159

Callers 1

SwitchToPageMethod · 0.80

Calls 2

AddMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected