[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: missing functions (luafilesystem) ?
- From: Mildred <ml.mildred593@...>
- Date: Tue, 28 Mar 2006 20:35:39 +0200
Hi,
I'm actually using luafilesystem but I think it would be great to have
others functions :
- a recursive flag for mkdir
- a copy function (which would be able to copy folders)
- maybe some functions to know if a file exists
- basename and dirname
- chmod, chown
- a way to create named pipes on unix systems (mkfifo)
Why these functions are missing ?
If youre interested, I can try to make a patch.
Also there are others functions that i want to see in the main library
(since I have to include them on almose evry project I have in lua) :
- try(function, functionHandler) : do a ppcall on function and call
functionHandler on error
- class(parentClass, table) : metatable(table).__index=parentClass
- addmetatable(object, key, value) : instead of :
local mt = getmetatable(object)
mt[key]=value
setmetatable(object, mt)
Mildred
--
Mildred <xmpp:mildred@jabber.fr> <http://mildred632.free.fr/>
Clef GPG : <hkp://pgp.mit.edu> ou <http://mildred632.free.fr/gpg_key>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]