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

Method get_error

utility/file_access_patched_gdre.cpp:156–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156Error FileAccessPatchedGDRE::get_error() const {
157 if (last_error != OK) {
158 return last_error;
159 }
160
161 if (patched_file.is_valid()) {
162 Error inner_error = patched_file->get_error();
163 if (inner_error != OK) {
164 return inner_error;
165 }
166 }
167
168 return last_error;
169}
170
171bool FileAccessPatchedGDRE::store_buffer(const uint8_t *p_src, uint64_t p_length) {
172 if (!_try_apply_patch()) {

Callers 1

_apply_patchMethod · 0.45

Calls 1

is_validMethod · 0.45

Tested by

no test coverage detected