MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_cache_path

Method get_cache_path

platform/android/os_android.cpp:720–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720String OS_Android::get_cache_path() const {
721 if (!cache_dir_cache.is_empty()) {
722 return cache_dir_cache;
723 }
724
725 String cache_dir = godot_io_java->get_cache_dir();
726 if (!cache_dir.is_empty()) {
727 cache_dir_cache = _remove_symlink(cache_dir);
728 return cache_dir_cache;
729 }
730 return ".";
731}
732
733String OS_Android::get_temp_path() const {
734 if (!temp_dir_cache.is_empty()) {

Callers

nothing calls this directly

Calls 3

_remove_symlinkFunction · 0.85
is_emptyMethod · 0.45
get_cache_dirMethod · 0.45

Tested by

no test coverage detected