[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT FFI file/directory iterator help needed
- From: Peter Cawley <lua@...>
- Date: Mon, 6 Jun 2011 15:12:25 +0100
I knocked up the following code, which has a similar interface to your
original code: http://pastebin.com/chftGw7w
On Mon, Jun 6, 2011 at 2:47 PM, steve donovan <steve.j.donovan@gmail.com> wrote:
> 2011/6/6 Attila <ejjeliorjarat@gmail.com>:
>> mechanism, I used alien to iterate through a directory's files (I don't like
>> os.execute with DIR/LS command, because it flashes the shell, and that's an
>> ugly solution I think).
>
> Why not just use LuaFileSystem? There _might_ be case where it's too
> slow for the job, but you would have to push the file system hard to
> find that case ;)
>
> steve d.
>
>