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

Method add_dir

utility/file_access_gdre.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152Error GDREPackedData::add_dir(const String &p_path, bool p_replace_files) {
153 if (dir_source.try_open_pack(p_path, p_replace_files, 0)) {
154 set_disabled(false);
155 return OK;
156 }
157 return ERR_FILE_CANT_OPEN;
158}
159
160namespace {
161// Solely here to test that PackedData::PackedFile hasn't changed

Callers 1

load_dirMethod · 0.80

Calls 1

try_open_packMethod · 0.45

Tested by

no test coverage detected