lua-users home
lua-l archive

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


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)
	setmetatable(object, mt)


Mildred       <> <>
Clef GPG :    <hkp://> ou <>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]