| 1586 | } |
| 1587 | |
| 1588 | bool 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 | |
| 1599 | String GDRESettings::get_remapped_source_path(const String &p_dst) const { |
| 1600 | if (is_pack_loaded()) { |
no test coverage detected