summaryrefslogtreecommitdiff
path: root/core/io/dir_access.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-05 12:44:55 +0200
committerGitHub <noreply@github.com>2022-07-05 12:44:55 +0200
commit4e7223ce497afb64e8f34f644d5eac215edeac89 (patch)
tree52b35daa802c4c3e5f4a3808b28f5308664e9325 /core/io/dir_access.cpp
parentfd10de5b948d6864a0ab6ff8b4beee665cc49e5d (diff)
parentf9c19298ce9ba7a9a9943949b40c757979706a5a (diff)
Merge pull request #62459 from m4gr3d/refactor_android_storage_handling_main
Diffstat (limited to 'core/io/dir_access.cpp')
-rw-r--r--core/io/dir_access.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/io/dir_access.cpp b/core/io/dir_access.cpp
index 433a7efb21..0a900078b7 100644
--- a/core/io/dir_access.cpp
+++ b/core/io/dir_access.cpp
@@ -181,6 +181,10 @@ Error DirAccess::make_dir_recursive(String p_dir) {
return OK;
}
+DirAccess::AccessType DirAccess::get_access_type() const {
+ return _access_type;
+}
+
String DirAccess::fix_path(String p_path) const {
switch (_access_type) {
case ACCESS_RESOURCES: {