MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_dependency_dict

Method get_dependency_dict

utility/import_info.cpp:1485–1494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1483}
1484
1485Dictionary ImportInfoGDExt::get_dependency_dict() const {
1486 Dictionary dict;
1487 if (cf->has_section("dependencies")) {
1488 Vector<String> dep_keys = cf->get_section_keys("dependencies");
1489 for (int64_t i = 0; i < dep_keys.size(); i++) {
1490 dict[dep_keys[i]] = cf->get_value("dependencies", dep_keys[i], Dictionary());
1491 }
1492 }
1493 return dict;
1494}
1495
1496void ImportInfoGDExt::set_dependency_dict(const Dictionary &p_dict) {
1497 for (auto &KV : p_dict) {

Callers 1

export_resourceMethod · 0.80

Calls 4

has_sectionMethod · 0.80
get_section_keysMethod · 0.80
sizeMethod · 0.45
get_valueMethod · 0.45

Tested by

no test coverage detected