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

Function has_old_remap

utility/gdre_settings.cpp:1588–1597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1586}
1587
1588bool has_old_remap(const Vector<String> &remaps, const String &src, const String &dst) {
1589 int idx = remaps.find(src);
1590 if (idx != -1 && idx % 2 == 0) {
1591 if (dst.is_empty()) {
1592 return true;
1593 }
1594 return idx + 1 >= remaps.size() ? false : remaps[idx + 1] == dst;
1595 }
1596 return false;
1597}
1598
1599String GDRESettings::get_remapped_source_path(const String &p_dst) const {
1600 if (is_pack_loaded()) {

Callers 2

has_remapMethod · 0.85
remove_remapMethod · 0.85

Calls 2

findMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected