diff options
| author | rollenrolm | 2015-03-21 18:33:32 +0100 |
|---|---|---|
| committer | rollenrolm | 2015-03-21 18:33:32 +0100 |
| commit | db0a71fc58137da99137e9fbea3ee982679c9afd (patch) | |
| tree | 2f5231a6e20f12d9fcc9e9799d986b4ecac38699 /drivers/unix/dir_access_unix.cpp | |
| parent | 40496dd76ae53c93ef5ea7e56671682a7cae9def (diff) | |
| download | godot-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.cpp | 6 |
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() { |
