diff options
| author | Juan Linietsky | 2014-06-11 10:41:43 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-06-11 10:41:43 -0300 |
| commit | 64e83bfd1404ea593f0c79b478d196a3fcde42a8 (patch) | |
| tree | c18c61da239443532a94fb9fa54df702df12a90b /core/io/file_access_pack.cpp | |
| parent | 9b8696d3dd92e2ed6f310ad0f0bf3c2182c9c6ae (diff) | |
| parent | 5f5cd5e6d1508f85ac1bffa44e122b4dc0e2bb1d (diff) | |
| download | godot-64e83bfd1404ea593f0c79b478d196a3fcde42a8.tar.gz godot-64e83bfd1404ea593f0c79b478d196a3fcde42a8.tar.zst godot-64e83bfd1404ea593f0c79b478d196a3fcde42a8.zip | |
Diffstat (limited to 'core/io/file_access_pack.cpp')
| -rw-r--r-- | core/io/file_access_pack.cpp | 5 |
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; |
