MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / findNode

Function findNode

tests/test_validation.cpp:116–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114// ── Helper: find node index by name ──
115
116static int findNode(const NodeTree& tree, const char* name) {
117 for (int i = 0; i < tree.nodes.size(); i++)
118 if (tree.nodes[i].name == name) return i;
119 return -1;
120}
121
122// ══════════════════════════════════════════════════════════════════════
123// Part 1: Pure unit tests – fmt::parseValue / fmt::validateValue

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected