As of now, passing hidden: false in constructor options hide only hidden files, i.e. files whose names begin with a dot. But this includes files from trash directories and other hidden directories that are intended for caching, e.g. /sdcard1/.TRASH-1000/.
So, the checkhidden method should also include folder names and check if any portion of the path begins with a dot.
As of now, passing
hidden: false
in constructor options hide only hidden files, i.e. files whose names begin with a dot. But this includes files from trash directories and other hidden directories that are intended for caching, e.g./sdcard1/.TRASH-1000/
.So, the
checkhidden
method should also include folder names and check if any portion of the path begins with a dot.