Hallo, I should remember to click the "Reply to all" button...
---------- Forwarded message ---------- From: Alex Queiroz <[EMAIL PROTECTED]> Date: Jul 4, 2006 3:03 PM Subject: Re: [Monotone-devel] Question for Tim - testsuite.lua giant list To: Zack Weinberg <[EMAIL PROTECTED]> Hallo, On 7/4/06, Zack Weinberg <[EMAIL PROTECTED]> wrote:
If it's the former, does anyone object to my snarfing Steve Kemp's lua-fs extension[1] into our local copy of the interpreter, and using that to get rid of the giant list? (Note I can see this being useful for hooks too - it has other useful things like stat, chmod, mkdir - which is why I suggest grabbing the whole thing rather than just the readdir implementation.)
Reading the site I saw that this library is for Lua 5.0. Although that's the version of Lua used by monotone, it would hold even more the upgrade to Lua 5.1.1. I don't think an external library is necessary for this. Monotone has already directory traversing for Windows and UNIX, it could be easily exported to Lua as an interator function: for file in direntries(dir) do ... end -- -alex http://www.ventonegro.org/ -- -alex http://www.ventonegro.org/ _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel