aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/dir_access_unix.cpp
diff options
context:
space:
mode:
authorrollenrolm2015-03-21 18:33:32 +0100
committerrollenrolm2015-03-21 18:33:32 +0100
commitdb0a71fc58137da99137e9fbea3ee982679c9afd (patch)
tree2f5231a6e20f12d9fcc9e9799d986b4ecac38699 /drivers/unix/dir_access_unix.cpp
parent40496dd76ae53c93ef5ea7e56671682a7cae9def (diff)
downloadgodot-db0a71fc58137da99137e9fbea3ee982679c9afd.tar.gz
godot-db0a71fc58137da99137e9fbea3ee982679c9afd.tar.zst
godot-db0a71fc58137da99137e9fbea3ee982679c9afd.zip
Diffstat (limited to 'drivers/unix/dir_access_unix.cpp')
-rw-r--r--drivers/unix/dir_access_unix.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/unix/dir_access_unix.cpp b/drivers/unix/dir_access_unix.cpp
index 452d791d9..5f5186543 100644
--- a/drivers/unix/dir_access_unix.cpp
+++ b/drivers/unix/dir_access_unix.cpp
@@ -161,6 +161,7 @@ String DirAccessUnix::get_next() {
}
+ _cishidden=(fname!="." && fname!=".." && fname.begins_with("."));
@@ -173,6 +174,11 @@ bool DirAccessUnix::current_is_dir() const {
return _cisdir;
}
+bool DirAccessUnix::current_is_hidden() const {
+
+ return _cishidden;
+}
+
void DirAccessUnix::list_dir_end() {