aboutsummaryrefslogtreecommitdiff
path: root/core/io/file_access_pack.cpp
diff options
context:
space:
mode:
authormarynate2014-05-25 11:34:51 +0800
committermarynate2014-05-25 14:50:54 +0800
commite6c1689b69e9e0ec530902b550c9e1e2d1cd0aae (patch)
treeec9350bef9fc1c0bf6bedd73cc5768115dd6efec /core/io/file_access_pack.cpp
parent71355aaab7eca64bec694918c6b911a412ad17f0 (diff)
downloadgodot-e6c1689b69e9e0ec530902b550c9e1e2d1cd0aae.tar.gz
godot-e6c1689b69e9e0ec530902b550c9e1e2d1cd0aae.tar.zst
godot-e6c1689b69e9e0ec530902b550c9e1e2d1cd0aae.zip
Diffstat (limited to 'core/io/file_access_pack.cpp')
-rw-r--r--core/io/file_access_pack.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/io/file_access_pack.cpp b/core/io/file_access_pack.cpp
index 6a28fa9da..e2cb300eb 100644
--- a/core/io/file_access_pack.cpp
+++ b/core/io/file_access_pack.cpp
@@ -443,6 +443,11 @@ bool DirAccessPack::file_exists(String p_file){
return current->files.has(p_file);
}
+bool DirAccessPack::dir_exists(String p_dir) {
+
+ return current->subdirs.has(p_dir);
+}
+
Error DirAccessPack::make_dir(String p_dir){
return ERR_UNAVAILABLE;