Hello,
I'm trying to make a simple shell for the Console.lua.
I'm fine about the current working directory or moving to the writable directory (savedir)
but how can I list the content of a directory : like "ls" (linux) or "dir" (DOS) ?
If it's not possible due to not implemented yet...
This feature will be usefull to manage config or cache file in savedir.
For security reason it might be good to not allowing to browse outside of the savedir.
Regards,
filesystem directory content listing
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
filesystem directory content listing
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
Re: filesystem directory content listing
Maybe with love.filesystem.enumerate( dir ) ?
Re: filesystem directory content listing
Oups...
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 12 guests