Hi all,

A very useful cross-platform function is access (_access on Windows).
It's awkward to fake its operation using the standard lfs functions.
Any reason why it should not be included?

Another idea that can be usefully borrowed from lua-ex is something
like 'for dirent in lfs.dirent '.' do ... end'.  Windows
_findfirst/_findnext returns a bunch of useful information, and it is
inefficient to then have to do a lfs.attributes() on the returned
path;  this iterator can be easily implemented on Unix as well.

http://msdn.microsoft.com/en-us/library/kda16keh(VS.71).aspx

Yes, I know, they are exposed in lua-ex but it would be cool if lfs
exposes them as well.

steve d,

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to