OC-MultICE/modules/library/fs-min.lua
Izaya b06887f2d9 Wrote an extended fs library
Should be pretty usable now. Mostly completes #3
2017-04-23 11:03:43 +10:00

7 lines
208 B
Lua

fT = {}
function fres(p)
local fid = (p:match("(%a-):") or p:match("/?(%a-)/"))
local pt = (p:match("%a-:(.+)") or p:match("/?%a-/(.+)"))
if fT[fid] ~= nil then return fT[fid],pt else return false end
end