| 247 | } |
| 248 | |
| 249 | void GDREPackedData::add_dummy_path(const String &p_pkg_path, const String &p_path) { |
| 250 | // Dummy files must have non-zero offset to avoid being treated as erased. |
| 251 | add_path(p_pkg_path, p_path, 1, 1, MD5_EMPTY, &dummy_source, false, false, false, false); |
| 252 | } |
| 253 | |
| 254 | uint8_t *GDREPackedData::get_file_hash(const String &p_path) { |
| 255 | String simplified_path = p_path.simplify_path().trim_prefix("res://"); |
no outgoing calls
no test coverage detected