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

Method get_libaries

utility/import_info.cpp:1373–1384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1371}
1372
1373Vector<SharedObject> ImportInfoGDExt::get_libaries(bool fix_rel_paths) const {
1374 auto lib_map = get_libaries_section();
1375 Vector<SharedObject> libs;
1376 for (auto &E : lib_map) {
1377 SharedObject so;
1378 so.path = fix_rel_paths ? correct_path(E.value) : E.value;
1379 so.tags = normalize_tags(E.key.split("."));
1380 so.target = "";
1381 libs.push_back(so);
1382 }
1383 return libs;
1384}
1385
1386HashMap<String, String> ImportInfoGDExt::get_libaries_section() const {
1387 /**

Callers 2

export_resourceMethod · 0.80

Calls 2

splitMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected