21 lines
476 B
Lua
21 lines
476 B
Lua
function prox:getadses(path)
|
|
local inode = fox_getnode(self, path)
|
|
local adsl = fox_readdir(self, inode.ads)
|
|
return adsl
|
|
end
|
|
|
|
function prox:makeads(path, stream)
|
|
|
|
end
|
|
|
|
function prox:getads(path, stream)
|
|
local inode = fox_getnode(self, path)
|
|
local adsl = fox_readdir(self, inode.ads)
|
|
for i=1, do
|
|
if (adsl[i].name == stream) then
|
|
local node = fox_getinode(self, adsl[i].inode)
|
|
return {node=node, pos=1, mode=mode, dev=self}
|
|
end
|
|
end
|
|
return nil, "not found"
|
|
end |