| 1235 | } |
| 1236 | |
| 1237 | Error ImportInfoGDExt::load_from_string(const String &p_fakepath, const String &p_string) { |
| 1238 | Error err; |
| 1239 | cf = Ref<ConfigFileCompat>(memnew(ConfigFileCompat)); |
| 1240 | err = cf->parse(p_string); |
| 1241 | ERR_FAIL_COND_V_MSG(err != OK, err, "Could not load resource " + p_fakepath); |
| 1242 | return _load_after_cf(p_fakepath); |
| 1243 | } |
| 1244 | |
| 1245 | Error ImportInfoGDExt::_load_after_cf(const String &p_path) { |
| 1246 | // compatibility_minimum |
no test coverage detected