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

Method _get_size

utility/file_access_gdre.cpp:662–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662int64_t FileAccessGDRE::_get_size(const String &p_file) {
663 if (PathFinder::gdre_packed_data_valid_path(p_file)) {
664 return GDREPackedData::get_singleton()->get_file_size(p_file);
665 }
666
667 if (proxy.is_valid()) {
668 return ((FileAccessGDRE *)proxy.ptr())->_get_size(p_file);
669 }
670 return 0;
671}
672
673// DirAccessGDRE
674// This is a copy/paste implementation of DirAccessPack, with the exception of the proxying

Callers

nothing calls this directly

Calls 2

get_file_sizeMethod · 0.80
is_validMethod · 0.45

Tested by

no test coverage detected