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

Method get_temp_path

tests/test_utils.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47String TestUtils::get_temp_path(const String &p_suffix) {
48 const String temp_base = OS::get_singleton()->get_cache_path().path_join("godot_test");
49 DirAccess::make_dir_absolute(temp_base); // Ensure the directory exists.
50 return temp_base.path_join(p_suffix);
51}

Callers

nothing calls this directly

Calls 2

path_joinMethod · 0.80
get_cache_pathMethod · 0.45

Tested by

no test coverage detected