OC-MultICE/modules/library/fs-ext.lua
Izaya 270007e0bf Fully completes #3.
It's passable for me.
2017-04-23 11:09:07 +10:00

17 lines
272 B
Lua

function flist(s)
local d,p = fres(s)
return d.list(p or "/")
end
function fmkdir(s)
local d,p = fres(s)
return d.makeDirectory(p or "/")
end
function frm(s)
local d,p = fres(s)
return d.remove(p)
end
function fexists(s)
local d,p = fres(s)
return d.exists(p)
end