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

Method load_from_string

utility/import_info.cpp:1237–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235}
1236
1237Error 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
1245Error ImportInfoGDExt::_load_after_cf(const String &p_path) {
1246 // compatibility_minimum

Callers 1

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected