21 lines
314 B
Lua
21 lines
314 B
Lua
function prox:open(path, mode)
|
|
local node = fox_getnode(self, path)
|
|
if not node then return nil, "file not found" end
|
|
return {node=node, pos=1, mode=mode, dev=self}
|
|
end
|
|
|
|
function prox:read(hand, amt)
|
|
|
|
end
|
|
|
|
function prox:write(hand, data)
|
|
|
|
end
|
|
|
|
function prox:seek(hand, amt)
|
|
|
|
end
|
|
|
|
function prox:close(hand)
|
|
|
|
end |