Add a function to list the files of a directory
Created by: christopho
There is no way to list the files of a directory with the standard Lua lib (for portability reasons), so a function like sol.file.list() would be useful. Maybe it should return an iterator.
It can easily be implemented in the engine by calling PHYSFS_getSearchPathCallback().
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information