lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Dec 16, 2011 at 12:03 PM, Natanael Copa <natanael.copa@gmail.com> wrote:
> but your API looks nicer.

It does look good...

> Would be awesome if something like that could be added to lfs or
> penlight or added to its own library.

There's always pl.dir.walk:

http://stevedonovan.github.com/Penlight/api/modules/pl.dir.html#walk

(interface borrowed from Python; pl.dir also has a getallfiles which is useful)

steve d.