If any of the directories ls searches has any subdirectories, they will be treated as regular files due to the implementation of ls_dirs. This means any shader files within subdirectories will not be listed, and it also means that if you run the command with -l, it will panic.
If any of the directories
ls
searches has any subdirectories, they will be treated as regular files due to the implementation ofls_dirs
. This means any shader files within subdirectories will not be listed, and it also means that if you run the command with-l
, it will panic.