MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/xstudio / add_node

Function add_node

src/ui/model_data/src/model_data_actor.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace {
29
30utility::JsonTree *add_node(utility::JsonTree *node, const nlohmann::json &new_entry_data) {
31
32 auto p = node->insert(std::next(node->begin(), node->size()), new_entry_data);
33 return &(*p);
34}
35
36std::string path_from_node(utility::JsonTree *node) {
37 if (!node->parent())

Callers 1

Calls 3

insertMethod · 0.45
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected