Merge branch 'master' of github.com:XeonSquared/PsychOS
This commit is contained in:
commit
e94916e4ab
@ -70,4 +70,24 @@ do
|
||||
end
|
||||
return false
|
||||
end
|
||||
function fs.list(s)
|
||||
local _,d,p = fs.resolve(s)
|
||||
return fT[d].list(p or "/")
|
||||
end
|
||||
function fs.mkdir(s)
|
||||
local _,d,p = fs.resolve(s)
|
||||
return fT[d].makeDirectory(p or "/")
|
||||
end
|
||||
function fs.rm(s)
|
||||
local d,p = fs.resolve(s)
|
||||
return fT[d].remove(p)
|
||||
end
|
||||
function fs.exists(s)
|
||||
local d,p = fs.resolve(s)
|
||||
return fT[d].exists(p)
|
||||
end
|
||||
function fs.isdir(s)
|
||||
local d,p = fs.resolve(s)
|
||||
return fT[d].isDirectory(p)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user